fs/nfs: Use fatal_signal_pending instead of signal_pending
authorzhouchuangao <zhouchuangao@vivo.com>
Mon, 10 May 2021 02:34:37 +0000 (19:34 -0700)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 20 May 2021 16:15:35 +0000 (12:15 -0400)
commitbb002388901151fe35b6697ab116f6ed0721a9ed
tree2d29c364f835dfff977454588dfaa87db19d6320
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc
fs/nfs: Use fatal_signal_pending instead of signal_pending

We set the state of the current process to TASK_KILLABLE via
prepare_to_wait(). Should we use fatal_signal_pending() to detect
the signal here?

Fixes: b4868b44c562 ("NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE")
Signed-off-by: zhouchuangao <zhouchuangao@vivo.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c