]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: we don't support removing system.nfs4_acl
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 28 Jan 2021 22:36:38 +0000 (17:36 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 11 Mar 2021 18:17:42 +0000 (13:17 -0500)
commit87b7be2f7af8b3473b440fc7bf1f1b9849c52aea
tree0a0f60d600994aa8bb8bc4cd4818195c7ac89550
parentb35e0e8793f9c9f51fb7f2e3942ed6eee9cf601c
nfs: we don't support removing system.nfs4_acl

The NFSv4 protocol doesn't have any notion of reomoving an attribute, so
removexattr(path,"system.nfs4_acl") doesn't make sense.

There's no documented return value.  Arguably it could be EOPNOTSUPP but
I'm a little worried an application might take that to mean that we
don't support ACLs or xattrs.  How about EINVAL?

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c