]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: stash away the device fd in struct xfs_buftarg
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Dec 2023 16:37:41 +0000 (17:37 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 18 Dec 2023 13:57:49 +0000 (14:57 +0100)
commit7b47b1bc2bb8219f5bc5fd2eb6f13ad802de1848
tree1f3c4038598afb67757a01d7cd9912282d0b3ce7
parent28cd682bef015170584ac6aa3fc0223cfd7c164f
libxfs: stash away the device fd in struct xfs_buftarg

Cache the open file descriptor for each device in the buftarg
structure and remove the now unused dev_map infrastructure.

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>
include/libxfs.h
libxfs/init.c
libxfs/libxfs_io.h
libxfs/rdwr.c
repair/prefetch.c