commit | 2109464184919f81efd593b4008291448c522815 | [log] [tgz] |
---|---|---|
author | Ronnie Sahlberg <lsahlber@redhat.com> | Thu Feb 07 15:48:44 2019 +1000 |
committer | Steve French <stfrench@microsoft.com> | Mon Mar 04 20:05:34 2019 -0600 |
tree | 8bdaaac790b1a36a9bf35b1aaf283e85f119ecce | |
parent | eca004523811f816bcfca3046ab54e1278e0973b [diff] |
cifs: return -ENODATA when deleting an xattr that does not exist BUGZILLA: https://bugzilla.kernel.org/show_bug.cgi?id=202007 When deleting an xattr/EA: SMB2/3 servers will return SUCCESS when clients delete non-existing EAs. This means that we need to first QUERY the server and check if the EA exists or not so that we can return -ENODATA correctly when this happens. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>