[PATCH] xfs: fix comments at xfs_growfs_data_private(), s/freelist/freespace/
Jeff Liu
jeff.liu at oracle.com
Thu Nov 8 03:26:33 CST 2012
Hello,
Growfs is trying to write a affected AGF header rather than AGFL, fix it IIUC.
Thanks,
-Jeff
Signed-off-by: Jie Liu <jeff.liu at oracle.com>
---
fs/xfs/xfs_fsops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c
index c25b094..a4cd017 100644
--- a/fs/xfs/xfs_fsops.c
+++ b/fs/xfs/xfs_fsops.c
@@ -186,7 +186,7 @@ xfs_growfs_data_private(
nfree = 0;
for (agno = nagcount - 1; agno >= oagcount; agno--, new -= agsize) {
/*
- * AG freelist header block
+ * AG freespace header block
*/
bp = xfs_buf_get(mp->m_ddev_targp,
XFS_AG_DADDR(mp, agno, XFS_AGF_DADDR(mp)),
--
1.7.9.5
More information about the xfs
mailing list