Re: [PATCH] fix posix lock on NFS, #2

From: ASANO Masahiro
Date: Fri Dec 23 2005 - 21:56:21 EST


From: Trond Myklebust <trond.myklebust@xxxxxxxxxx>
Subject: Re: [PATCH] fix posix lock on NFS, #2
Date: Fri, 23 Dec 2005 16:02:31 +0100

> On Fri, 2005-12-23 at 23:38 +0900, ASANO Masahiro wrote:
> > Here is a patch. It changes nfsd to keep the range of file_lock for
> > later use. Any comments and feedback are welcome.

> NACK. You cannot copy locks like this. See locks_copy_lock().

Thank you for pointing it out. I forgot all that point. I'm trying
to update my patch, but things are complicated.
Do you think it is safe to copy the file_lock table simply with
locks_copy_lock() at that point, or it may break nlm_blocked list in
nfsd?

--
masano
-
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/