]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFSv4.2: another fix for listxattr
authorOlga Kornievskaia <okorniev@redhat.com>
Tue, 22 Jul 2025 20:56:41 +0000 (16:56 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 28 Jul 2025 15:51:18 +0000 (11:51 -0400)
commit9acb237deff7667b0f6b10fe6b1b70c4429ea049
tree10d3ab65e53a054c204faa16e48b4a661f355b8f
parentef93a685e01a281b5e2a25ce4e3428cf9371a205
NFSv4.2: another fix for listxattr

Currently, when the server supports NFS4.1 security labels then
security.selinux label in included twice. Instead, only add it
when the server doesn't possess security label support.

Fixes: 243fea134633 ("NFSv4.2: fix listxattr to return selinux security label")
Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Link: https://lore.kernel.org/r/20250722205641.79394-1-okorniev@redhat.com
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c