| To: | Tim Shimmin <tes@xxxxxxx> |
|---|---|
| Subject: | Re: review: xfs_growfs_data_private() not logging agf length change |
| From: | David Chinner <dgc@xxxxxxx> |
| Date: | Thu, 7 Jun 2007 17:30:34 +1000 |
| Cc: | xfs-dev@xxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <4667ADAF.7000904@sgi.com> |
| References: | <4667ADAF.7000904@sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.2.1i |
On Thu, Jun 07, 2007 at 05:03:11PM +1000, Tim Shimmin wrote: > Looks like we forgot to log the agf_length change here. > > (cut 'n' pasted patch) > > --Tim > > =========================================================================== > Index: fs/xfs/xfs_fsops.c > =========================================================================== > > --- a/fs/xfs/xfs_fsops.c 2007-04-17 18:02:46.000000000 +1000 > +++ b/fs/xfs/xfs_fsops.c 2007-04-17 17:59:44.467987572 +1000 > @@ -328,6 +328,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. > */ Yup, looks ok to me. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | review: xfs_growfs_data_private() not logging agf length change, Tim Shimmin |
|---|---|
| Next by Date: | Re: XFS internal error xfs_da_do_buf(2) at line 2087 of file fs/xfs/xfs_da_btree.c. Caller 0xc01b00bd, Marco Berizzi |
| Previous by Thread: | review: xfs_growfs_data_private() not logging agf length change, Tim Shimmin |
| Next by Thread: | Re: review: xfs_growfs_data_private() not logging agf length change, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |