diff options
Diffstat (limited to 'fs/adfs/inode.c')
-rw-r--r-- | fs/adfs/inode.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c index 6f9c389a4..5dacc56d6 100644 --- a/fs/adfs/inode.c +++ b/fs/adfs/inode.c @@ -19,7 +19,6 @@ * Lookup/Create a block at offset 'block' into 'inode'. We currently do * not support creation of new blocks, so we return -EIO for this case. */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0) int adfs_get_block(struct inode *inode, long block, struct buffer_head *bh, int create) { @@ -79,16 +78,6 @@ static struct address_space_operations adfs_aops = { bmap: _adfs_bmap }; -#else -int adfs_bmap(struct inode *inode, int block) -{ - if (block >= inode->i_blocks) - return 0; - - return __adfs_block_map(inode->i_sb, inode->i_ino, block); -} -#endif - static inline unsigned int adfs_filetype(struct inode *inode) { @@ -360,7 +349,7 @@ out: * The adfs-specific inode data has already been updated by * adfs_notify_change() */ -void adfs_write_inode(struct inode *inode) +void adfs_write_inode(struct inode *inode, int unused) { struct super_block *sb = inode->i_sb; struct object_info obj; |