diff options
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r-- | fs/fat/inode.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 93fbc8a7f098..78e363c844cb 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -655,20 +655,6 @@ static int fat_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
655 | return 0; | 655 | return 0; |
656 | } | 656 | } |
657 | 657 | ||
658 | static inline loff_t fat_i_pos_read(struct msdos_sb_info *sbi, | ||
659 | struct inode *inode) | ||
660 | { | ||
661 | loff_t i_pos; | ||
662 | #if BITS_PER_LONG == 32 | ||
663 | spin_lock(&sbi->inode_hash_lock); | ||
664 | #endif | ||
665 | i_pos = MSDOS_I(inode)->i_pos; | ||
666 | #if BITS_PER_LONG == 32 | ||
667 | spin_unlock(&sbi->inode_hash_lock); | ||
668 | #endif | ||
669 | return i_pos; | ||
670 | } | ||
671 | |||
672 | static int __fat_write_inode(struct inode *inode, int wait) | 658 | static int __fat_write_inode(struct inode *inode, int wait) |
673 | { | 659 | { |
674 | struct super_block *sb = inode->i_sb; | 660 | struct super_block *sb = inode->i_sb; |