NFSv4.2: error out when relink swapfile
authorMurphy Zhou <jencce.kernel@gmail.com>
Fri, 14 Feb 2020 14:34:09 +0000 (22:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 08:36:31 +0000 (10:36 +0200)
commit59bafdc99440ca6aef8bd1a93491d637a09853f2
tree04917ac54f55c36feba5a0ef250d02e94c9e5904
parent264e3f1597e8f6d45caf815f6883c4c98a8ed056
NFSv4.2: error out when relink swapfile

[ Upstream commit f5fdf1243fb750598b46305dd03c553949cfa14f ]

This fixes xfstests generic/356 failure on NFSv4.2.

Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4file.c