NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/44288: tmpfs_rmdir() panic
The following reply was made to PR kern/44288; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/44288: tmpfs_rmdir() panic
Date: Tue, 4 Jan 2011 06:49:23 +0000
On Sun, Jan 02, 2011 at 07:55:01PM +0000, Jukka Ruohonen wrote:
> > + KASSERT(node->tn_links == 2);
>
> The above assertion indeed goes off.
I'm not particularly surprised.
Now I guess we get to figure out what's corrupting the link count...
Maybe try changing the above assertion to
if (node->tn_links != 2) {
printf("tmpfs_rmdir: tn_links is %u, should be 2\n", node->tn_links);
node->tn_links = 2;
}
and running the workload under ktrace to see what it's doing that
causes the problem?
(well, I suppose it's about 98% likely that it's rename)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index