summaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-10-08 21:56:03 +1100
committerBen Myers <bpm@sgi.com>2012-10-17 11:57:10 -0500
commitcf2931db2d189ce0583be7ae880d7e3f8c15f623 (patch)
treec775754810bd0657fe770f6fedb429f0cc6dc586 /fs/jbd2
parentf661f1e0bf5002bdcc8b5810ad0a184a1841537f (diff)
downloadlinux-rpi3-cf2931db2d189ce0583be7ae880d7e3f8c15f623.tar.gz
linux-rpi3-cf2931db2d189ce0583be7ae880d7e3f8c15f623.tar.bz2
linux-rpi3-cf2931db2d189ce0583be7ae880d7e3f8c15f623.zip
xfs: Bring some sanity to log unmounting
When unmounting the filesystem, there are lots of operations that need to be done in a specific order, and they are spread across across a couple of functions. We have to drain the AIL before we write the unmount record, and we have to shut down the background log work before we do either of them. But this is all split haphazardly across xfs_unmountfs() and xfs_log_unmount(). Move all the AIL flushing and log manipulations to xfs_log_unmount() so that the responisbilities of each function is clear and the operations they perform obvious. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions