diff options
Diffstat (limited to 'fs/nfsd/lockd.c')
-rw-r--r-- | fs/nfsd/lockd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfsd/lockd.c b/fs/nfsd/lockd.c index ccca2cc7c..e23f48e5b 100644 --- a/fs/nfsd/lockd.c +++ b/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) |