]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: setting bcachefs_effective.* xattrs is a noop
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 18 Aug 2024 17:24:26 +0000 (13:24 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 Aug 2024 06:07:22 +0000 (02:07 -0400)
commit548e7f51679bf0ec3cdc2027d780c5d06a2a7ac6
treec5d3878b4d52926529c1afdd37e16cbb718786ef
parent8cc0e50614520c6c609c6ae32a65d0591b7865a1
bcachefs: setting bcachefs_effective.* xattrs is a noop

bcachefs_effective.* xattrs show the options inherited from parent
directories (as well as explicitly set); this namespace is not for
setting bcachefs options.

Change the .set() handler to a noop so that if e.g. rsync is copying
xattrs it'll do the right thing, and only copy xattrs in the bcachefs.*
namespace. We don't want to return an error, because that will cause
rsync to bail out or get spammy.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/xattr.c