diff options
author | Jan Kara <jack@suse.cz> | 2012-05-03 14:47:55 +0200 |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2012-05-06 13:43:38 +0800 |
commit | 365b94ae67d2915d412b593d47449a6bffed9d37 (patch) | |
tree | ed5d92a05a7c4670439632a20895f523a6553720 /include/asm-generic | |
parent | 68809c7108b9a75baf2a888b1c19ce1a4680f600 (diff) |
writeback: Move clearing of I_SYNC into inode_sync_complete()
Move clearing of I_SYNC into inode_sync_complete(). It is more logical to have
clearing of I_SYNC bit and waking of waiters in one place. Also later we will
have two places needing to clear I_SYNC and wake up waiters so this allows them
to use the common helper. Moving of I_SYNC clearing to a later stage of
writeback_single_inode() is safe since we hold i_lock all the time.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions