]> www.infradead.org Git - users/hch/xfsprogs.git/commit
misc: clean up code around attr_list_by_handle calls
authorDarrick J. Wong <djwong@kernel.org>
Tue, 1 Oct 2024 00:06:22 +0000 (17:06 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 00:54:48 +0000 (17:54 -0700)
commit8554a59c85282fbbd460a3de7e64dd38508c2364
tree4f43a1106b8041e4a54c08b4ace2d797766c0ce4
parentb92bf9bc2da75f3709f5f3a6c09d6c62d0d799ef
misc: clean up code around attr_list_by_handle calls

Reduce stack usage of the attr_list_by_handle calls by allocating the
buffers dynamically.  Remove some redundant bits while we're at it.

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