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

Next file: linux/fs/minix/symlink.c
Previous file: linux/fs/isofs/symlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.77/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_dentry->d_inode);
+	lock->fh      = *NFS_FH(fl->fl_file->f_dentry);
 	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