提交 120226c1 编写于 作者: C Christoph Hellwig 提交者: Niv Sardi

[XFS] add missing call to xfs_filestream_unmount on xfs_mountfs failure

SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31199a
Signed-off-by: NChristoph Hellwig <hch@infradead.org>
Signed-off-by: NDavid Chinner <dgc@sgi.com>
Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
上级 effa2eda
......@@ -1810,7 +1810,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);
......@@ -1850,6 +1850,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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册