* Re: [PATCH] 2.6.13 flocks_remove_flock hits BUG();
[not found] <20050902145049.9E6E633CDA@rekin5.o2.pl>
@ 2005-09-12 16:40 ` Antonio Amorim
0 siblings, 0 replies; only message in thread
From: Antonio Amorim @ 2005-09-12 16:40 UTC (permalink / raw)
To: linux-kernel
Jakub W. Jozwicki <jakub007@...> writes:
>
> Because of incomplete conditional flocks_remove_flock runs into
> BUG() which is below 'ifs'. This was visible with using unionfs.
>
> --- locks.c 2005-09-02 16:38:40.770509784 +0200
> +++ locks-fixed.c 2005-09-02 16:37:22.000000000 +0200
> <at> <at> -1908,7 +1908,7 <at> <at>
>
> while ((fl = *before) != NULL) {
> if (fl->fl_file == filp) {
> - if (IS_FLOCK(fl)) {
> + if (IS_FLOCK(fl) || IS_POSIX(fl)) {
> locks_delete_lock(before);
> continue;
> }
>
What was the UNIONFS version that you were able to compile with the 2.6.13
kernel. Did it work ok after applying the patrch?
All the best,
Antonio Amorim
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-12 17:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20050902145049.9E6E633CDA@rekin5.o2.pl>
2005-09-12 16:40 ` [PATCH] 2.6.13 flocks_remove_flock hits BUG(); Antonio Amorim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®