aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_mount.c12
-rw-r--r--fs/xfs/xfs_mount.h2
2 files changed, 6 insertions, 8 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index 06f0a73bc93f..7f5027266ea0 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -1229,16 +1229,15 @@ xfs_mountfs(
1229} 1229}
1230 1230
1231/* 1231/*
1232 * xfs_unmountfs
1233 *
1234 * This flushes out the inodes,dquots and the superblock, unmounts the 1232 * This flushes out the inodes,dquots and the superblock, unmounts the
1235 * log and makes sure that incore structures are freed. 1233 * log and makes sure that incore structures are freed.
1236 */ 1234 */
1237int 1235void
1238xfs_unmountfs(xfs_mount_t *mp) 1236xfs_unmountfs(
1237 struct xfs_mount *mp)
1239{ 1238{
1240 __uint64_t resblks; 1239 __uint64_t resblks;
1241 int error = 0; 1240 int error;
1242 1241
1243 IRELE(mp->m_rootip); 1242 IRELE(mp->m_rootip);
1244 1243
@@ -1311,7 +1310,6 @@ xfs_unmountfs(xfs_mount_t *mp)
1311 xfs_errortag_clearall(mp, 0); 1310 xfs_errortag_clearall(mp, 0);
1312#endif 1311#endif
1313 xfs_mount_free(mp); 1312 xfs_mount_free(mp);
1314 return 0;
1315} 1313}
1316 1314
1317STATIC void 1315STATIC void
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index 02c16b9ce2ab..f3c1024b1241 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -513,7 +513,7 @@ extern int xfs_log_sbcount(xfs_mount_t *, uint);
513extern int xfs_mountfs(xfs_mount_t *mp); 513extern int xfs_mountfs(xfs_mount_t *mp);
514extern void xfs_mountfs_check_barriers(xfs_mount_t *mp); 514extern void xfs_mountfs_check_barriers(xfs_mount_t *mp);
515 515
516extern int xfs_unmountfs(xfs_mount_t *); 516extern void xfs_unmountfs(xfs_mount_t *);
517extern int xfs_unmountfs_writesb(xfs_mount_t *); 517extern int xfs_unmountfs_writesb(xfs_mount_t *);
518extern int xfs_unmount_flush(xfs_mount_t *, int); 518extern int xfs_unmount_flush(xfs_mount_t *, int);
519extern int xfs_mod_incore_sb(xfs_mount_t *, xfs_sb_field_t, int64_t, int); 519extern int xfs_mod_incore_sb(xfs_mount_t *, xfs_sb_field_t, int64_t, int);