Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xfs: close the RT and log block devices in xfs_free_buftarg
Closing the block devices logically belongs into xfs_free_buftarg, So instead of open coding it in the caller move it there and add a check for the s_bdev so that the main device isn't close as that's done by the VFS helper. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: "Darrick J. Wong" <[email protected]> Message-Id: <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
- Loading branch information