diff options
| author | Christoph Hellwig <[email protected]> | 2023-08-09 15:05:37 -0700 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-08-10 10:34:54 +0200 |
| commit | 41233576e9a4515dc9b0bd1cbbb896b520a1f486 (patch) | |
| tree | 7989ca3d6c7ce3b1910db449b05c1956bd674e2a /net/lapb/lapb_iface.c | |
| parent | d3ef7e94ee36adc8f0006d253a9ad45793b874cd (diff) | |
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]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions