patch-2.1.45 linux/fs/lockd/clntproc.c

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

diff -u --recursive --new-file v2.1.44/linux/fs/lockd/clntproc.c linux/fs/lockd/clntproc.c
@@ -42,7 +42,7 @@
 	memset(argp, 0, sizeof(*argp));
 	argp->cookie  = nlm_cookie++;
 	argp->state   = nsm_local_state;
-	lock->fh      = *NFS_FH(fl->fl_file->f_inode);
+	lock->fh      = *NFS_FH(fl->fl_file->f_dentry->d_inode);
 	lock->caller  = system_utsname.nodename;
 	lock->oh.data = req->a_owner;
 	lock->oh.len  = sprintf(req->a_owner, "%d@%s",

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