]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf80ecfd087100523f76c745db420015b3b2d38ac
tree2d29c364f835dfff977454588dfaa87db19d6320
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
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: ea6614d1b979 ("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