xfs
[Top] [All Lists]

[PATCH] xfs: fix comments at xfs_growfs_data_private(), s/freelist/frees

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfs: fix comments at xfs_growfs_data_private(), s/freelist/freespace/
From: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date: Thu, 08 Nov 2012 17:26:33 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
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@xxxxxxxxxx>

---
 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

<Prev in Thread] Current Thread [Next in Thread>