aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorDavid Jeffery <[email protected]>2014-08-05 15:19:42 +0000
committerTrond Myklebust <[email protected]>2014-08-22 22:04:44 +0000
commit92a56555bd576c61b27a5cab9f38a33a1e9a1df5 (patch)
treed25e9c5821615dcb0e48d37373f36a0baa7f3e85 /lib/string.c
parentnfs: can_coalesce_requests must enforce contiguity (diff)
downloadkernel-92a56555bd576c61b27a5cab9f38a33a1e9a1df5.tar.gz
kernel-92a56555bd576c61b27a5cab9f38a33a1e9a1df5.zip
nfs: Don't busy-wait on SIGKILL in __nfs_iocounter_wait
If a SIGKILL is sent to a task waiting in __nfs_iocounter_wait, it will busy-wait or soft lockup in its while loop. nfs_wait_bit_killable won't sleep, and the loop won't exit on the error return. Stop the busy-wait by breaking out of the loop when nfs_wait_bit_killable returns an error. Signed-off-by: David Jeffery <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions