summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-02-01 16:14:54 +0300
committerChristian Brauner (Microsoft) <brauner@kernel.org>2023-03-06 11:57:11 +0300
commit831be973aa21d1cf8948bf4b1d4e73e6d5d028c0 (patch)
tree85ae7a24b3f102139fd37544b533f5b928cd49ca /fs/nfsd
parent2db8a948046cab3a2f707561592906a3d096972f (diff)
downloadlinux-831be973aa21d1cf8948bf4b1d4e73e6d5d028c0.tar.xz
xattr: remove unused argument
his helpers is really just used to check for user.* xattr support so don't make it pointlessly generic. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4xdr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index e12e5a4ad502..e30c0746305b 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -3444,8 +3444,7 @@ out_acl:
p = xdr_reserve_space(xdr, 4);
if (!p)
goto out_resource;
- err = xattr_supported_namespace(d_inode(dentry),
- XATTR_USER_PREFIX);
+ err = xattr_supports_user_prefix(d_inode(dentry));
*p++ = cpu_to_be32(err == 0);
}