]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: clean up xfs_da_unmount usage
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:00:49 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:35 +0000 (11:37 -0700)
commit73cdf0032b170ccb5c5f989fde50dfd361030027
tree3b3761be3f353e2def9630238d9b0e37217203f1
parente9add503ea48dfaf68e3c5731aba28d74c46366f
libxfs: clean up xfs_da_unmount usage

Replace the open-coded xfs_da_unmount usage in libxfs_umount and teach
libxfs_mount not to leak the dir/attr geometry structures when the mount
attempt fails.

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