diff options
author | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> | 2011-05-08 14:43:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-09 12:04:23 -0400 |
commit | e5d6a7dd5e0b29eee4359e817e0bee728d7c5530 (patch) | |
tree | 3bc7f48840f1a8b25ddf76955b2cc5c10a3f8367 /fs/hpfs | |
parent | 0fe105aa29bed0994991462b58ef61646db0e459 (diff) |
HPFS: Remove mark_inode_dirty
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>
Diffstat (limited to 'fs/hpfs')
-rw-r--r-- | fs/hpfs/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c index 3b8eeb1693ae..d093ce749412 100644 --- a/fs/hpfs/inode.c +++ b/fs/hpfs/inode.c | |||
@@ -199,8 +199,6 @@ void hpfs_write_inode(struct inode *i) | |||
199 | } | 199 | } |
200 | hpfs_write_inode_nolock(i); | 200 | hpfs_write_inode_nolock(i); |
201 | iput(parent); | 201 | iput(parent); |
202 | } else { | ||
203 | mark_inode_dirty(i); | ||
204 | } | 202 | } |
205 | } | 203 | } |
206 | 204 | ||
@@ -278,7 +276,6 @@ int hpfs_setattr(struct dentry *dentry, struct iattr *attr) | |||
278 | } | 276 | } |
279 | 277 | ||
280 | setattr_copy(inode, attr); | 278 | setattr_copy(inode, attr); |
281 | mark_inode_dirty(inode); | ||
282 | 279 | ||
283 | hpfs_write_inode(inode); | 280 | hpfs_write_inode(inode); |
284 | 281 | ||