]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita96797ccba145e694f2e3598fa6d2b438f214931
treed184e95ec9eff9dc0f77b20d6c59aae9520570ea
parent269d258aa9ca7360dfeae859936779e5b0d8f78b
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