]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fuse: fix fuse_file_lseek returning with lock held
authorDan Carpenter <error27@gmail.com>
Mon, 30 Mar 2009 18:50:13 +0000 (18:50 +0000)
committerChris Wright <chrisw@sous-sol.org>
Thu, 2 Apr 2009 20:55:18 +0000 (13:55 -0700)
commit84a31107de6deee382e98b911e0fc7263427a7a8
tree65cd1019d4fdc58fea85b801ce6cd7b123cc925f
parentfdc0359dc4769e463481a5376cb66f5c53b2868c
fuse: fix fuse_file_lseek returning with lock held

upstream commit: 5291658d87ac1ae60418e79e7b6bad7d5f595e0c

This bug was found with smatch (http://repo.or.cz/w/smatch.git/).  If
we return directly the inode->i_mutex lock doesn't get released.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: stable@kernel.org
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
fs/fuse/file.c