patch-2.1.120 linux/fs/nfsd/lockd.c
Next file: linux/fs/nfsd/nfsfh.c
Previous file: linux/fs/nfsd/export.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Aug 31 11:03:38 1998
- Orig file:
v2.1.119/linux/fs/nfsd/lockd.c
- Orig date:
Tue Dec 9 12:16:25 1997
diff -u --recursive --new-file v2.1.119/linux/fs/nfsd/lockd.c linux/fs/nfsd/lockd.c
@@ -22,12 +22,13 @@
static u32
nlm_fopen(struct svc_rqst *rqstp, struct knfs_fh *f, struct file *filp)
{
- struct svc_fh fh;
u32 nfserr;
+ struct svc_fh fh;
+ /* must initialize before using! */
+ fh_init(&fh);
fh.fh_handle = *f;
fh.fh_export = NULL;
- fh.fh_dverified = 0;
nfserr = nfsd_open(rqstp, &fh, S_IFREG, 0, filp);
if (!nfserr)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov