]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fs/9p: check schedule_timeout_interruptible return value
authorJim Garlick <garlick@llnl.gov>
Tue, 3 Jan 2012 21:27:50 +0000 (15:27 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Thu, 5 Jan 2012 16:51:44 +0000 (10:51 -0600)
commita0ea787b027b79cf2e01c6758e5246db06520158
treeb3066e9a557e5add9dc99ee9f763fcf7c3926b5f
parent805a6af8dba5dfdd35ec35dc52ec0122400b2610
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>
fs/9p/vfs_file.c