Commit 0ad0b87d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] adfs: remove a kernel 2.2 #ifdef

From: Adrian Bunk <bunk@fs.tum.de>

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.
parent 4f3a9491
...@@ -68,12 +68,8 @@ struct adfs_discmap { ...@@ -68,12 +68,8 @@ struct adfs_discmap {
/* Inode stuff */ /* Inode stuff */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
int adfs_get_block(struct inode *inode, sector_t block, int adfs_get_block(struct inode *inode, sector_t block,
struct buffer_head *bh, int create); 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); struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
void adfs_read_inode(struct inode *inode); void adfs_read_inode(struct inode *inode);
void adfs_write_inode(struct inode *inode,int unused); void adfs_write_inode(struct inode *inode,int unused);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment