|
@@ -655,20 +655,6 @@ static int fat_statfs(struct dentry *dentry, struct kstatfs *buf)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static inline loff_t fat_i_pos_read(struct msdos_sb_info *sbi,
|
|
|
- struct inode *inode)
|
|
|
-{
|
|
|
- loff_t i_pos;
|
|
|
-#if BITS_PER_LONG == 32
|
|
|
- spin_lock(&sbi->inode_hash_lock);
|
|
|
-#endif
|
|
|
- i_pos = MSDOS_I(inode)->i_pos;
|
|
|
-#if BITS_PER_LONG == 32
|
|
|
- spin_unlock(&sbi->inode_hash_lock);
|
|
|
-#endif
|
|
|
- return i_pos;
|
|
|
-}
|
|
|
-
|
|
|
static int __fat_write_inode(struct inode *inode, int wait)
|
|
|
{
|
|
|
struct super_block *sb = inode->i_sb;
|