]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix panic on error during mount
authorJosef Bacik <jbacik@redhat.com>
Tue, 2 Dec 2008 11:36:10 +0000 (06:36 -0500)
committerChris Mason <chris.mason@oracle.com>
Tue, 2 Dec 2008 11:36:10 +0000 (06:36 -0500)
commita1c2172786f89b4e9d9e5fe75ddd6d77d273984a
treea48c535515c0d9311fa770afd0696644489cf074
parent0ebfd5730867c1cf86769447a30fe71c1157c14e
Btrfs: fix panic on error during mount

This needs to be applied on top of my previous patches, but is needed for more
than just my new stuff.  We're going to the wrong label when we have an error,
we try to stop the workers, but they are started below all of this code.  This
fixes it so we go to the right error label and not panic when we fail one of
these cases.

Signed-off-by: Josef Bacik <jbacik@redhat.com>
fs/btrfs/disk-io.c