Commit 9acb237
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: 243fea1 ("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>1 parent ef93a68 commit 9acb237
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10883 | 10883 | | |
10884 | 10884 | | |
10885 | 10885 | | |
10886 | | - | |
| 10886 | + | |
10887 | 10887 | | |
10888 | 10888 | | |
10889 | 10889 | | |
| |||
10911 | 10911 | | |
10912 | 10912 | | |
10913 | 10913 | | |
10914 | | - | |
10915 | | - | |
10916 | | - | |
| 10914 | + | |
| 10915 | + | |
| 10916 | + | |
| 10917 | + | |
| 10918 | + | |
10917 | 10919 | | |
10918 | 10920 | | |
10919 | 10921 | | |
| |||
0 commit comments