Loading fs/nfs/nfs42xdr.c +8 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,14 @@ static int decode_listxattrs(struct xdr_stream *xdr, */ if (status == -ETOOSMALL) status = -ERANGE; /* * Special case: for LISTXATTRS, NFS4ERR_NOXATTR * should be translated to success with zero-length reply. */ if (status == -ENODATA) { res->eof = true; status = 0; } goto out; } Loading Loading
fs/nfs/nfs42xdr.c +8 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,14 @@ static int decode_listxattrs(struct xdr_stream *xdr, */ if (status == -ETOOSMALL) status = -ERANGE; /* * Special case: for LISTXATTRS, NFS4ERR_NOXATTR * should be translated to success with zero-length reply. */ if (status == -ENODATA) { res->eof = true; status = 0; } goto out; } Loading