| To: | Nathan Scott <nscott@xxxxxxxxxx> |
|---|---|
| Subject: | Re: corruption bug in 2.6.17 |
| From: | Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> |
| Date: | Tue, 5 Jun 2007 19:01:15 -0400 (EDT) |
| Cc: | Christian Kujau <lists@xxxxxxxxxxxxxxx>, "Raz Ben-Jehuda(caro)" <raziebe@xxxxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <1181084327.3176.4.camel@edge.yarra.acx> |
| References: | <5d96567b0706021407q4455b60asd9d23ef82cb90b55@mail.gmail.com> <alpine.DEB.0.99.0706022300140.16496@sheep.housecafe.de> <5d96567b0706050127y7f5eap7b92cddb5cdae02d@mail.gmail.com> <alpine.DEB.0.99.0706052217320.21004@foobar-g4> <1181084327.3176.4.camel@edge.yarra.acx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
On Wed, 6 Jun 2007, Nathan Scott wrote: On Tue, 2007-06-05 at 22:24 +0200, Christian Kujau wrote:
--- linux-2.6.17.6.orig/fs/xfs/xfs_dir2_node.c
+++ linux-2.6.17.6/fs/xfs/xfs_dir2_node.c
@@ -970,7 +970,7 @@ xfs_dir2_leafn_remove(
/*
* One less used entry in the free table.
*/
- free->hdr.nused = cpu_to_be32(-1);
+ be32_add(&free->hdr.nused, -1);
xfs_dir2_free_log_header(tp, fbp);
/*
* If this was the last entry in the table, we can |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: corruption bug in 2.6.17, Nathan Scott |
|---|---|
| Next by Date: | Re: Reducing memory requirements for high extent xfs files, Vlad Apostolov |
| Previous by Thread: | Re: corruption bug in 2.6.17, Nathan Scott |
| Next by Thread: | Re: corruption bug in 2.6.17, Christian Kujau |
| Indexes: | [Date] [Thread] [Top] [All Lists] |