Re: [PATCH 3/17] locks: make -lock release private data before returning in GETLK case

2007-04-06 Thread Christoph Hellwig
On Thu, Apr 05, 2007 at 07:40:53PM -0400, J. Bruce Fields wrote: diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index f52cf5c..d557a51 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -3019,6 +3019,8 @@ static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct

[PATCH 3/17] locks: make -lock release private data before returning in GETLK case

2007-04-05 Thread J. Bruce Fields
From: J. Bruce Fields [EMAIL PROTECTED] - unquoted The file_lock argument to -lock is used to return the conflicting lock when found. There's no reason for the filesystem to return any private information with this conflicting lock, but nfsv4 is. Fix nfsv4 client, and modify locks.c to stop