Re: slab corruption in test9 (NFS related?)

From: Neil Brown
Date: Sun Nov 09 2003 - 22:06:36 EST


On Sunday November 9, akpm@xxxxxxxx wrote:
> Burton Windle <bwindle@xxxxxxxx> wrote:
> > Slab corruption: start=c9df6bcc, expend=c9df6c8b, problemat=c9df6bcc
> > Last user: [<c017f87e>](d_callback+0x1e/0x40)
> > Data: 6A**********************************************************************************************************************************************************************************************A5
> > Next: 71 F0 2C .7E F8 17 C0 A5 C2 0F 17 00 00 00 00 08 00 00 00 3C 4B 24 1D 00 00 00 00 0A 00 00 00 slab error in check_poison_obj(): cache
> >
>
> Someone did a dput() of a freed dentry. This is quite possibly an
> nfsd bug.

Ahhh. That would be:


===============================================
An extra dput was introduced in nfsd_rename 20 months ago....

time to remove it.

----------- Diffstat output ------------
./fs/nfsd/vfs.c | 1 -
1 files changed, 1 deletion(-)

diff ./fs/nfsd/vfs.c~current~ ./fs/nfsd/vfs.c
--- ./fs/nfsd/vfs.c~current~ 2003-11-05 11:25:45.000000000 +1100
+++ ./fs/nfsd/vfs.c 2003-11-05 11:25:59.000000000 +1100
@@ -1368,7 +1368,6 @@ nfsd_rename(struct svc_rqst *rqstp, stru
nfsd_sync_dir(tdentry);
nfsd_sync_dir(fdentry);
}
- dput(ndentry);

out_dput_new:
dput(ndentry);

==============================================

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/