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)
commit9054760ff585a7fa436599990b63a585ae89ff4d
tree3afdd2d1f7d80d75e19a2ab19358024f23c529e4
parent3ece48a746088be3dd75904e8d9bb9b49af0aa95
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