diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-02-14 15:05:41 -0500 |
---|---|---|
committer | Christoph Lameter <clameter@sgi.com> | 2008-02-14 15:05:41 -0500 |
commit | c5974932c1e8514d3478573bb52beebeb2c786dd (patch) | |
tree | a204156fbb0036fb76e89ceffa15a30e90bc3f75 /fs/xfs/xfs_fsops.c | |
parent | 9e40ade04c45a46f6b3d647e0bdac1a32bfaa3a9 (diff) | |
parent | e760e716d47b48caf98da348368fd41b4a9b9e7e (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
-rw-r--r-- | fs/xfs/xfs_fsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index b8de7f3cc17e..eadc1591c795 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c | |||
@@ -318,7 +318,7 @@ xfs_growfs_data_private( | |||
318 | } | 318 | } |
319 | ASSERT(bp); | 319 | ASSERT(bp); |
320 | agi = XFS_BUF_TO_AGI(bp); | 320 | agi = XFS_BUF_TO_AGI(bp); |
321 | be32_add(&agi->agi_length, new); | 321 | be32_add_cpu(&agi->agi_length, new); |
322 | ASSERT(nagcount == oagcount || | 322 | ASSERT(nagcount == oagcount || |
323 | be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks); | 323 | be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks); |
324 | xfs_ialloc_log_agi(tp, bp, XFS_AGI_LENGTH); | 324 | xfs_ialloc_log_agi(tp, bp, XFS_AGI_LENGTH); |
@@ -331,7 +331,7 @@ xfs_growfs_data_private( | |||
331 | } | 331 | } |
332 | ASSERT(bp); | 332 | ASSERT(bp); |
333 | agf = XFS_BUF_TO_AGF(bp); | 333 | agf = XFS_BUF_TO_AGF(bp); |
334 | be32_add(&agf->agf_length, new); | 334 | be32_add_cpu(&agf->agf_length, new); |
335 | ASSERT(be32_to_cpu(agf->agf_length) == | 335 | ASSERT(be32_to_cpu(agf->agf_length) == |
336 | be32_to_cpu(agi->agi_length)); | 336 | be32_to_cpu(agi->agi_length)); |
337 | xfs_alloc_log_agf(tp, bp, XFS_AGF_LENGTH); | 337 | xfs_alloc_log_agf(tp, bp, XFS_AGF_LENGTH); |