Trond Myklebust c76a5e5949 NFSv42: Don't fail clone() unless the OP_CLONE operation failed
[ Upstream commit d3c45824ad65aebf765fcf51366d317a29538820 ]

The failure to retrieve post-op attributes has no bearing on whether or
not the clone operation itself was successful. We must therefore ignore
the return value of decode_getfattr() when looking at the success or
failure of nfs4_xdr_dec_clone().

Fixes: 36022770de6c ("nfs42: add CLONE xdr functions")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-01 09:04:47 +01:00
..
2021-02-26 15:49:51 -07:00
2021-11-18 19:17:00 +01:00
2021-11-18 19:17:02 +01:00
2020-05-27 10:10:12 -04:00
2021-08-31 10:57:06 -07:00
2021-04-05 09:04:20 -04:00
2021-11-18 19:17:02 +01:00
2021-05-07 11:23:41 -07:00
2021-05-07 11:23:41 -07:00
2021-11-18 19:17:02 +01:00
2021-11-18 19:17:02 +01:00