commit | 11159a0500c1eb7a8a2de37b7dceb53373c75350 | [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 13:41:04 2012 -0500 |
tree | ae81aca1b23fbf1b369e84d426ed393956db0fae | |
parent | bcf62ab64d1ba257dd9d4283a077a7219a05073a [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>