summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-01-23 09:27:36 -0800
committerDarrick J. Wong <djwong@kernel.org>2026-01-23 09:27:36 -0800
commiteaec8aeff31d0679eadb27a13a62942ddbfd7b87 (patch)
tree7e6b3afe4d124931335f4cc6ba9e6e91535a08ea /rust/alloc/collections/git@git.tavy.me:linux.git
parentd693534513d8dcdaafcf855986d0fe0476a47462 (diff)
xfs: add a method to replace shortform attrs
If we're trying to replace an xattr in a shortform attr structure and the old entry fits the new entry, we can just memcpy and exit without having to delete, compact, and re-add the entry (or worse use the attr intent machinery). For parent pointers this only advantages renaming where the filename length stays the same (e.g. mv autoexec.bat scandisk.exe) but for regular xattrs it might be useful for updating security labels and the like. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions