lkml.org 
[lkml]   [2004]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [FIX] kernel BUG at fs/locks.c:1723!
Andreas Gruenbacher <agruen@suse.de> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.035 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site