9p: return on mutex_lock_interruptible()
authorDan Carpenter <error27@gmail.com>
Tue, 30 Mar 2010 09:41:25 +0000 (09:41 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 5 Apr 2010 19:32:33 +0000 (14:32 -0500)
commit85a770a8889035625466a4cfb1393cd7d2ffd165
treea860f3d7a95ad083863a1b55394f31f3b1b6f133
parent11e9b49b7fa056bfc00a56de8956d1d5fe8b84ea
9p: return on mutex_lock_interruptible()

If "err" is -EINTR here the original code calls mutex_unlock() and then
returns, but it should just return directly.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
fs/9p/vfs_dir.c