]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: don't hold xattr leaf buffers across transaction rolls libxfs-5.19-sync_2022-06-28
authorDarrick J. Wong <djwong@kernel.org>
Sat, 25 Jun 2022 17:52:11 +0000 (10:52 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 28 Jun 2022 20:42:59 +0000 (13:42 -0700)
commitd320d88e5cbf9e3a6a0e8d33477dc00c19383253
tree7b23d13a21bad0b5a451a7a4ec32dfc1e4bd9c86
parent0e42bbc95ce334c24343e0ebd9405a28af62ab70
xfs: don't hold xattr leaf buffers across transaction rolls

Source kernel commit: 8b2fe54075e0d04a126ecfbeb714fea2f77fb8e4

Now that we've established (again!) that empty xattr leaf buffers are
ok, we no longer need to bhold them to transactions when we're creating
new leaf blocks.  Get rid of the entire mechanism, which should simplify
the xattr code quite a bit.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_attr.c
libxfs/xfs_attr.h
libxfs/xfs_attr_leaf.c
libxfs/xfs_attr_leaf.h