| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 10/10] add missing call to xfs_filestream_unmount on xfs_mountfs failure |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Fri, 2 May 2008 00:01:38 +0200 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_super.c
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/linux-2.6/xfs_super.c 2008-05-01
20:35:30.000000000 +0200
+++ linux-2.6-xfs/fs/xfs/linux-2.6/xfs_super.c 2008-05-01 20:36:38.000000000
+0200
@@ -1811,7 +1811,7 @@ xfs_fs_fill_super(
error = xfs_mountfs(mp, flags);
if (error)
- goto out_free_sb;
+ goto out_filestream_unmount;
XFS_SEND_MOUNT(mp, DM_RIGHT_NULL, args->mtpt, args->fsname);
@@ -1851,6 +1851,8 @@ xfs_fs_fill_super(
kfree(args);
return 0;
+ out_filestream_unmount:
+ xfs_filestream_unmount(mp);
out_free_sb:
xfs_freesb(mp);
out_destroy_counters:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 5/10] add xfs_setup_devices helper, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 9/10] rename error2 goto label in xfs_fs_fill_super, Christoph Hellwig |
| Previous by Thread: | [PATCH 5/10] add xfs_setup_devices helper, Christoph Hellwig |
| Next by Thread: | [PATCH 9/10] rename error2 goto label in xfs_fs_fill_super, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |