diff options
author | Jan Kara <jack@suse.cz> | 2012-03-09 07:26:07 -0800 |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2012-03-21 15:26:47 +0800 |
commit | f469ec9c5b95dfed60d5d628e1a8cecfc1f92d7a (patch) | |
tree | daee82683fc13e29a3b92d39fd7a6a8a06288d69 /fs/qnx4 | |
parent | 9f8050c4f99789d03ca96d4e625bd6637241828f (diff) | |
download | op-kernel-dev-f469ec9c5b95dfed60d5d628e1a8cecfc1f92d7a.zip op-kernel-dev-f469ec9c5b95dfed60d5d628e1a8cecfc1f92d7a.tar.gz |
fs: Remove bogus wait in write_inode_now()
inode_sync_wait() in write_inode_now() is just bogus. That function waits for
I_SYNC bit to be cleared but writeback_single_inode() clears the bit on return
so the wait is effectivelly a nop unless someone else submits the inode for
writeback again. All the waiting write_inode_now() needs is achieved by using
WB_SYNC_ALL writeback mode.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions