]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: fix a couple error sequence jumps in xfs_mountfs()
authorBrian Foster <bfoster@redhat.com>
Mon, 14 Jul 2014 21:41:25 +0000 (07:41 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 14 Jul 2014 21:41:25 +0000 (07:41 +1000)
commita70a4fa528faf6f22adce9a9067d1f4dfc332ade
treed7834ed7a2b324faacba3f4446df574a2c5d3176
parent7f8a058f6dc52219117bc2469b1fb816f7fa1a4b
xfs: fix a couple error sequence jumps in xfs_mountfs()

xfs_mountfs() has a couple failure conditions that do not jump to the
correct labels. Specifically:

- xfs_initialize_perag_data() failure does not deallocate the log even
  though it occurs after log initialization
- xfs_mount_reset_sbqflags() failure returns the error directly rather
  than jump to the error sequence

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_mount.c