[2.6 patch] adfs: remove a kernel 2.2 #ifdef

From: Adrian Bunk
Date: Sat Feb 07 2004 - 20:30:39 EST


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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/