summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2007-06-18 16:50:08 +1000
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-07-14 15:32:59 +1000
commit0164af51cedf46e1d58fd53854373f544150c597 (patch)
treef52692b23866ce03fdf5752b26ec5415ee82a59d
parenteffd120edb7609069cca9f3d1cb4bfae464b2f85 (diff)
downloadlinux-0164af51cedf46e1d58fd53854373f544150c597.tar.gz
linux-0164af51cedf46e1d58fd53854373f544150c597.tar.bz2
linux-0164af51cedf46e1d58fd53854373f544150c597.zip
[XFS] Log the agf_length change in xfs_growfs_data_private().
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>
-rw-r--r--fs/xfs/xfs_fsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c
index 27d01afe8465..ddd45e5b9383 100644
--- a/fs/xfs/xfs_fsops.c
+++ b/fs/xfs/xfs_fsops.c
@@ -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.
*/