]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: make the reserved block permission flag explicit in xfs_attr_set
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:51 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:03 +0000 (17:01 -0700)
commit2e5f98e2218d42302b644dc2461bcf04bb4af0f1
tree4471c9f10bba41151fd565ac9c0235f1bf8bb509
parentffe71f1334dd25d087ddf49d8fb4d317f334e9c0
xfs: make the reserved block permission flag explicit in xfs_attr_set

Source kernel commit: bf61c36a45d4c215994699a7a06a00c58d22e8a2

Make the use of reserved blocks an explicit parameter to xfs_attr_set.
Userspace setting XFS_ATTR_ROOT attrs should continue to be able to use
it, but for online repairs we can back out and therefore do not care.

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