]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Fix parsing of xattr namespace in removexattr
authorAnoop C S <anoopcs@cryptolab.net>
Mon, 8 Jan 2024 11:45:26 +0000 (17:15 +0530)
committerAnoop C S <anoopcs@cryptolab.net>
Mon, 8 Jan 2024 13:37:25 +0000 (19:07 +0530)
commit655aedf605e8b5bc99976499ae5bdb8d11aa4a93
tree5b3076babad0467ffb445cca6a5373127e577917
parentadb1aeea31c7f972b2301065f2fd197364b936a2
client: Fix parsing of xattr namespace in removexattr

To match the kernel ceph client, as mentioned by the inline comments,
remove the comparison with "system." xattr namespace in removexattr()
code path. This is in preparation to handle the case where POSIX ACL
xattrs are treated differently by kernel during removexattr operation.

ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/ceph/xattr.c#n21

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
src/client/Client.cc