diff options
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index efa169da2b02..1c372f998c15 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -644,7 +644,7 @@ xfs_initialize_perag_data(xfs_mount_t *mp, xfs_agnumber_t agcount) | |||
644 | for (index = 0; index < agcount; index++) { | 644 | for (index = 0; index < agcount; index++) { |
645 | /* | 645 | /* |
646 | * read the agf, then the agi. This gets us | 646 | * read the agf, then the agi. This gets us |
647 | * all the inforamtion we need and populates the | 647 | * all the information we need and populates the |
648 | * per-ag structures for us. | 648 | * per-ag structures for us. |
649 | */ | 649 | */ |
650 | error = xfs_alloc_pagf_init(mp, NULL, index, 0); | 650 | error = xfs_alloc_pagf_init(mp, NULL, index, 0); |
@@ -1225,7 +1225,7 @@ xfs_unmountfs( | |||
1225 | 1225 | ||
1226 | /* | 1226 | /* |
1227 | * We can potentially deadlock here if we have an inode cluster | 1227 | * We can potentially deadlock here if we have an inode cluster |
1228 | * that has been freed has it's buffer still pinned in memory because | 1228 | * that has been freed has its buffer still pinned in memory because |
1229 | * the transaction is still sitting in a iclog. The stale inodes | 1229 | * the transaction is still sitting in a iclog. The stale inodes |
1230 | * on that buffer will have their flush locks held until the | 1230 | * on that buffer will have their flush locks held until the |
1231 | * transaction hits the disk and the callbacks run. the inode | 1231 | * transaction hits the disk and the callbacks run. the inode |
@@ -1257,7 +1257,7 @@ xfs_unmountfs( | |||
1257 | * Unreserve any blocks we have so that when we unmount we don't account | 1257 | * Unreserve any blocks we have so that when we unmount we don't account |
1258 | * the reserved free space as used. This is really only necessary for | 1258 | * the reserved free space as used. This is really only necessary for |
1259 | * lazy superblock counting because it trusts the incore superblock | 1259 | * lazy superblock counting because it trusts the incore superblock |
1260 | * counters to be aboslutely correct on clean unmount. | 1260 | * counters to be absolutely correct on clean unmount. |
1261 | * | 1261 | * |
1262 | * We don't bother correcting this elsewhere for lazy superblock | 1262 | * We don't bother correcting this elsewhere for lazy superblock |
1263 | * counting because on mount of an unclean filesystem we reconstruct the | 1263 | * counting because on mount of an unclean filesystem we reconstruct the |
@@ -1860,7 +1860,7 @@ xfs_mount_log_sb( | |||
1860 | * we disable the per-cpu counter and go through the slow path. | 1860 | * we disable the per-cpu counter and go through the slow path. |
1861 | * | 1861 | * |
1862 | * The slow path is the current xfs_mod_incore_sb() function. This means that | 1862 | * The slow path is the current xfs_mod_incore_sb() function. This means that |
1863 | * when we disable a per-cpu counter, we need to drain it's resources back to | 1863 | * when we disable a per-cpu counter, we need to drain its resources back to |
1864 | * the global superblock. We do this after disabling the counter to prevent | 1864 | * the global superblock. We do this after disabling the counter to prevent |
1865 | * more threads from queueing up on the counter. | 1865 | * more threads from queueing up on the counter. |
1866 | * | 1866 | * |