* [2.6 patch] adfs: remove a kernel 2.2 #ifdef
@ 2004-02-08 1:24 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-02-08 1:24 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
The patch below removes a kernel 2.2 #ifdef from fs/adfs/adfs.h .
Note that this #ifdef was only present in the header, the implementation
of adfs_bmap was already removed.
Please apply
Adrian
--- linux-2.6.2-mm1/fs/adfs/adfs.h.old 2004-02-08 02:20:03.000000000 +0100
+++ linux-2.6.2-mm1/fs/adfs/adfs.h 2004-02-08 02:20:38.000000000 +0100
@@ -68,12 +68,8 @@
/* Inode stuff */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
int adfs_get_block(struct inode *inode, sector_t block,
struct buffer_head *bh, int create);
-#else
-int adfs_bmap(struct inode *inode, int block);
-#endif
struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
void adfs_read_inode(struct inode *inode);
void adfs_write_inode(struct inode *inode,int unused);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-08 1:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-08 1:24 [2.6 patch] adfs: remove a kernel 2.2 #ifdef Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®