Skip to content
Commit 5291658d authored by Dan Carpenter's avatar Dan Carpenter Committed by Miklos Szeredi
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
CC: stable@kernel.org
parent 0d34fb8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment