]> git.baikalelectronics.ru Git - kernel.git/commit
hpfs_setattr error case avoids unlock_kernel
authorDr. David Alan Gilbert <linux@treblig.org>
Mon, 13 Dec 2010 17:09:52 +0000 (17:09 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Jan 2011 10:11:37 +0000 (05:11 -0500)
commitd76aa5fe352098c0e50405c4aa0f16990deff1c0
treec94e7269bf7d3b7f16ad33789c5730a8e0445e44
parent8eeb4f5ef92e503426de5fa1114beb70189a1564
hpfs_setattr error case avoids unlock_kernel

This fixed a case that 'sparse' spotted where hpfs_setattr has an error return
that didn't go through it's path that unlocks.

This is against git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
version 4179f42bb42d394a3045d6bc3151c626281bcb5f.

Build tested only, I don't have an hpfs file system to test.

Dave

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hpfs/inode.c