]> git.baikalelectronics.ru Git - kernel.git/commit
lmLogOpen() broken failure exit
authorAl Viro <viro@ZenIV.linux.org.uk>
Sun, 5 Jun 2011 18:22:56 +0000 (19:22 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 7 Jun 2011 12:50:59 +0000 (08:50 -0400)
commit14b1ec2af2b6b6d4bbdbdee666413e9ef3578e1f
tree3afdd2d1f7d80d75e19a2ab19358024f23c529e4
parentea5891d8f75b6fb411f1de2ec918de92b30045fd
lmLogOpen() broken failure exit

Callers of lmLogOpen() expect it to return -E... on failure exits, which
is what it returns, except for the case of blkdev_get_by_dev() failure.
It that case lmLogOpen() return the error with the wrong sign...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
fs/jfs/jfs_logmgr.c