patch-2.1.89 linux/fs/lockd/xdr.c

Next file: linux/fs/locks.c
Previous file: linux/fs/lockd/svcproc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.88/linux/fs/lockd/xdr.c linux/fs/lockd/xdr.c
@@ -128,7 +128,7 @@
 		return NULL;
 
 	memset(fl, 0, sizeof(*fl));
-	fl->fl_owner = current;
+	fl->fl_owner = current->files;
 	fl->fl_pid   = ntohl(*p++);
 	fl->fl_flags = FL_POSIX;
 	fl->fl_type  = F_RDLCK;		/* as good as anything else */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov