xfs: fix error handling in xfs_log_mount
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Feb 2009 18:55:48 +0000 (19:55 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Thu, 12 Feb 2009 18:55:48 +0000 (19:55 +0100)
We can't just call xfs_log_unmount_dealloc on any failure because the
ail thread which is torn down by xfs_log_unmount_dealloc might not
be initialized yet.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
Reported-by: Lachlan McIlroy <lachlan@sgi.com>

No differences found