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
- Lines: 9
- Date:
Sun Jul 13 21:20:10 1997
- Orig file:
v2.1.44/linux/fs/lockd/clntproc.c
- Orig date:
Sun Apr 13 10:18:22 1997
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