diff options
author | Christoph Hellwig <hch@lst.de> | 2008-12-03 06:20:37 -0500 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-12-03 23:39:24 -0500 |
commit | f95099ba5ae06b96a9c17ef93cc655f686d79077 (patch) | |
tree | 000e5aa4db7386439cbe1d932d7639978a7c87c0 /fs/xfs/xfs_mount.c | |
parent | e57481dc269cd3773b22f53bfb869308780a7bf1 (diff) |
kill xfs_unmount_flush
There's almost nothing left in this function, instead remove the IRELE
on the real times inodes and the call to XFS_QM_UNMOUNT into xfs_unmountfs.
For the regular unmount case that means it now also happenes after dmapi
notification, but otherwise there is no difference in behaviour.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 1672ff56a009..3c97c6463a4e 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -1220,6 +1220,16 @@ xfs_unmountfs( | |||
1220 | __uint64_t resblks; | 1220 | __uint64_t resblks; |
1221 | int error; | 1221 | int error; |
1222 | 1222 | ||
1223 | /* | ||
1224 | * Release dquot that rootinode, rbmino and rsumino might be holding, | ||
1225 | * and release the quota inodes. | ||
1226 | */ | ||
1227 | XFS_QM_UNMOUNT(mp); | ||
1228 | |||
1229 | if (mp->m_rbmip) | ||
1230 | IRELE(mp->m_rbmip); | ||
1231 | if (mp->m_rsumip) | ||
1232 | IRELE(mp->m_rsumip); | ||
1223 | IRELE(mp->m_rootip); | 1233 | IRELE(mp->m_rootip); |
1224 | 1234 | ||
1225 | /* | 1235 | /* |