Re: [FIX] kernel BUG at fs/locks.c:1723!

From: Andrew Morton
Date: Mon May 24 2004 - 02:42:41 EST


Andreas Gruenbacher <agruen@xxxxxxx> wrote:
>
>
> There is a race between unshare_files() and the following steal_locks(). As a
> consequence, steal_locks() may steal some additional FL_POSIX locks that
> don't belong to the current thread. This triggers a BUG in
> locks_remove_flock().

Well based on Trond's words it's not clear whether we should be proceeding
this way. Although I think he said "the code is crap and someone should
rewrite it". Fine, but that doesn't mean we shouldn't be fixing oopses in
the current stuff.

I fixed up the big reject which this threw - it's getting a bit optimistic
sending out patches against 2.6.5...
-
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/