HPFS: Remove mark_inode_dirty
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Sun, 8 May 2011 18:43:27 +0000 (20:43 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 9 May 2011 16:04:23 +0000 (09:04 -0700)
Remove mark_inode_dirty

HPFS doesn't use kernel's dirty inode indicator anyway because
writing an inode requires directory's mutex.

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hpfs/inode.c

index 3b8eeb1693aeb41cd906e662c33a8533d50978bf..d093ce7494125da107ca8660b8a029145304992c 100644 (file)
@@ -199,8 +199,6 @@ void hpfs_write_inode(struct inode *i)
                }
                hpfs_write_inode_nolock(i);
                iput(parent);
-       } else {
-               mark_inode_dirty(i);
        }
 }
 
@@ -278,7 +276,6 @@ int hpfs_setattr(struct dentry *dentry, struct iattr *attr)
        }
 
        setattr_copy(inode, attr);
-       mark_inode_dirty(inode);
 
        hpfs_write_inode(inode);