commit | 8866fc6fa55e31b2bce931b7963ff16641b39dc7 | [log] [tgz] |
---|---|---|
author | Ben Myers <bpm@sgi.com> | Fri May 25 15:45:36 2012 -0500 |
committer | Ben Myers <bpm@sgi.com> | Thu Jun 21 14:20:48 2012 -0500 |
tree | f86eb7377bc637f1cc4f007826ecda945525af48 | |
parent | 59c84ed0ddc11f1823b4a33ace4fbcc948261bb2 [diff] |
xfs: shutdown xfs_sync_worker before the log Revert commit 1307bbd, which uses the s_umount semaphore to provide exclusion between xfs_sync_worker and unmount, in favor of shutting down the sync worker before freeing the log in xfs_log_unmount. This is a cleaner way of resolving the race between xfs_sync_worker and unmount than using s_umount. Signed-off-by: Ben Myers <bpm@sgi.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>