NFSv4: Fix an Oops during delegation callbacks
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Nov 2018 21:37:54 +0000 (16:37 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Nov 2018 22:15:17 +0000 (17:15 -0500)
commite39d8a186ed002854196668cb7562ffdfbc6d379
treed184e95ec9eff9dc0f77b20d6c59aae9520570ea
parente3d5e573a54dabdc0f9f3cb039d799323372b251
NFSv4: Fix an Oops during delegation callbacks

If the server sends a CB_GETATTR or a CB_RECALL while the filesystem is
being unmounted, then we can Oops when releasing the inode in
nfs4_callback_getattr() and nfs4_callback_recall().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback_proc.c
fs/nfs/delegation.c