sys/vfs/hammer: Fix error check on mount
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 9 Aug 2015 18:16:24 +0000 (03:16 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 17 Aug 2015 11:04:27 +0000 (20:04 +0900)
commit721f311056acc1d8297ce0283ec9eca746158b68
tree99935efe114b4267a33eeeb63c2afc98ce1512fe
parentcdabf05377188faef46ecd3c9aa65c9f411c32de
sys/vfs/hammer: Fix error check on mount

Since it already has failed: that does the same thing,
goto failed; on each error case makes code more clear.

Remove error==0 from the first if() conditional since
error isn't 0 when hmp->rootvol==NULL.
sys/vfs/hammer/hammer_vfsops.c