]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fuse: fix fuse_file_lseek returning with lock held
authorDan Carpenter <error27@gmail.com>
Fri, 27 Mar 2009 10:36:10 +0000 (13:36 +0300)
committerMiklos Szeredi <mszeredi@suse.cz>
Mon, 30 Mar 2009 15:26:24 +0000 (17:26 +0200)
commit5291658d87ac1ae60418e79e7b6bad7d5f595e0c
treee91cba2f5e73a5a93fcff6e866ebae737fee1e5c
parent0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b
fuse: fix fuse_file_lseek returning with lock held

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
fs/fuse/file.c