On Mon, Jan 11, 2021 at 05:38:51PM +0000, Christoph Hellwig wrote: > On Wed, Jan 06, 2021 at 12:41:19PM -0500, Brian Foster wrote: > > Update xfs_log_sbcount() to use the same logic > > xfs_log_unmount_write() uses to determine when to write an unmount > > record. > > But it isn't the same old logic - a shutdown check is added as well. > xfs_log_unmount_write() does have a shutdown check, it just doesn't show up in the diff because I wanted to retain the post-log force check in that function (in the event that the force triggers a shutdown). Brian