[XFS] Log the agf_length change in xfs_growfs_data_private().
authorTim Shimmin <tes@sgi.com>
Mon, 18 Jun 2007 06:50:08 +0000 (16:50 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:32:59 +0000 (15:32 +1000)
SGI-PV: 963528
SGI-Modid: xfs-linux-melb:xfs-kern:28856a

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/xfs_fsops.c

index 27d01afe8465b56f7f4cff7379965e8cf4884b52..ddd45e5b9383d1163930b110cb7b9e926f5da3ae 100644 (file)
@@ -332,6 +332,7 @@ xfs_growfs_data_private(
                be32_add(&agf->agf_length, new);
                ASSERT(be32_to_cpu(agf->agf_length) ==
                       be32_to_cpu(agi->agi_length));
+               xfs_alloc_log_agf(tp, bp, XFS_AGF_LENGTH);
                /*
                 * Free the new space.
                 */