Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107412
b: refs/heads/master
c: fa6adbe
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Niv Sardi committed Jul 28, 2008
1 parent 93365b2 commit 1c2f130
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b166de0a061e4e89d0741a5d080b141f11e2c9b
refs/heads/master: fa6adbe08825274a3803abb9aef365f939be7da5
15 changes: 2 additions & 13 deletions trunk/fs/xfs/xfs_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

STATIC int xfs_mount_log_sb(xfs_mount_t *, __int64_t);
STATIC int xfs_uuid_mount(xfs_mount_t *);
STATIC void xfs_uuid_unmount(xfs_mount_t *mp);
STATIC void xfs_unmountfs_wait(xfs_mount_t *);


Expand Down Expand Up @@ -1268,7 +1267,7 @@ xfs_mountfs(
/* FALLTHROUGH */
error1:
if (uuid_mounted)
xfs_uuid_unmount(mp);
uuid_table_remove(&mp->m_sb.sb_uuid);
xfs_freesb(mp);
return error;
}
Expand Down Expand Up @@ -1349,7 +1348,7 @@ xfs_unmountfs(xfs_mount_t *mp, struct cred *cr)

xfs_unmountfs_close(mp, cr);
if ((mp->m_flags & XFS_MOUNT_NOUUID) == 0)
xfs_uuid_unmount(mp);
uuid_table_remove(&mp->m_sb.sb_uuid);

#if defined(DEBUG) || defined(INDUCE_IO_ERROR)
xfs_errortag_clearall(mp, 0);
Expand Down Expand Up @@ -1910,16 +1909,6 @@ xfs_uuid_mount(
return 0;
}

/*
* Remove filesystem from the UUID table.
*/
STATIC void
xfs_uuid_unmount(
xfs_mount_t *mp)
{
uuid_table_remove(&mp->m_sb.sb_uuid);
}

/*
* Used to log changes to the superblock unit and width fields which could
* be altered by the mount options, as well as any potential sb_features2
Expand Down

0 comments on commit 1c2f130

Please sign in to comment.