lkml.org 
[lkml]   [2003]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [BUG 2.4] NFS unlocking operation accesses invalid file struct
Date
Hello Trond,

I apologize for the delay in responding.

On Friday 28 November 2003 01:23, Trond Myklebust wrote:
> So then the correct thing to do is indeed to wrap the call to
> locks_unlock_delete() with an fget()/fput() pair, and then to remove
> the test for fl_pid in locks_same_owner().
>
> We then need to fix lockd so that it generates correct fl_owners for
> its locks...
>
> Let me see if I can get that right.
>

I looked at your patch carefully
(http://www.fys.uio.no/~trondmy/src/Linux-2.4.x/2.4.23-rc1/linux-2.4.23-01-posix_race.dif)
and I think it would fix the problem completely.

Thanks,

--
Akinobu Mita

-
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 13:59    [W:0.073 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site