commit | c7d206b3379f7d6462e778b74f475c470ee3dcaf | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Fri Jul 11 19:27:31 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jul 11 19:27:31 2008 -0400 |
tree | 71d11797c72e2e4ee04e6690c048fd26f25ae90d | |
parent | 2e9ee850355593e311d9a26542290fe51e152f74 [diff] |
vfs: Move mark_inode_dirty() from under page lock in generic_write_end() There's no need to call mark_inode_dirty() under page lock in generic_write_end(). It unnecessarily makes hold time of page lock longer and more importantly it forces locking order of page lock and transaction start for journaling filesystems. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>