summaryrefslogtreecommitdiff
path: root/net/9p/util.c
diff options
context:
space:
mode:
authorJim Garlick <garlick@llnl.gov>2012-01-04 01:27:50 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2012-01-05 20:51:44 +0400
commita0ea787b027b79cf2e01c6758e5246db06520158 (patch)
treeb3066e9a557e5add9dc99ee9f763fcf7c3926b5f /net/9p/util.c
parent805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff)
downloadlinux-a0ea787b027b79cf2e01c6758e5246db06520158.tar.xz
fs/9p: check schedule_timeout_interruptible return value
In v9fs_file_do_lock() we need to check return value of schedule_timeout_interruptible() and exit the loop when it returns nonzero, otherwise the loop is not really interruptible and after the signal, the loop is no longer throttled by P9_LOCK_TIMEOUT. Signed-off-by: Jim Garlick <garlick.jim@gmail.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/util.c')
0 files changed, 0 insertions, 0 deletions