提交 e5d6a7dd 编写于 作者: M Mikulas Patocka 提交者: Linus Torvalds

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: NMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0fe105aa
...@@ -199,8 +199,6 @@ void hpfs_write_inode(struct inode *i) ...@@ -199,8 +199,6 @@ void hpfs_write_inode(struct inode *i)
} }
hpfs_write_inode_nolock(i); hpfs_write_inode_nolock(i);
iput(parent); iput(parent);
} else {
mark_inode_dirty(i);
} }
} }
...@@ -278,7 +276,6 @@ int hpfs_setattr(struct dentry *dentry, struct iattr *attr) ...@@ -278,7 +276,6 @@ int hpfs_setattr(struct dentry *dentry, struct iattr *attr)
} }
setattr_copy(inode, attr); setattr_copy(inode, attr);
mark_inode_dirty(inode);
hpfs_write_inode(inode); hpfs_write_inode(inode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册