]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: return the opened fd from libxfs_device_open
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Dec 2023 16:37:38 +0000 (17:37 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 18 Dec 2023 13:57:49 +0000 (14:57 +0100)
commit652683748da1333dee33f6d8634f33d294923bb8
tree835cfd5d7a097add86283e0008f6ff1e03344ac4
parent4f112cb17c0ddcc670cb4df07d3f32f6846ff430
libxfs: return the opened fd from libxfs_device_open

So that the caller can stash it away without having to call
xfs_device_to_fd.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/init.c