X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fnfsd%2Flockd.c;h=9e4a568a5013ef72c5139aa83ef8ba19cb4f0829;hb=6924d1ab8b7bbe5ab416713f5701b3316b2df85b;hp=11fdaf7721b4e68f53d71ae6994d621b21d90a44;hpb=c1448791648d44ecbf8cadb192704e3e6eb3bb0e;p=linux-2.6 diff --git a/fs/nfsd/lockd.c b/fs/nfsd/lockd.c index 11fdaf7721..9e4a568a50 100644 --- a/fs/nfsd/lockd.c +++ b/fs/nfsd/lockd.c @@ -22,7 +22,7 @@ /* * Note: we hold the dentry use count while the file is open. */ -static u32 +static __be32 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp) { __be32 nfserr; @@ -65,6 +65,7 @@ nlm_fclose(struct file *filp) static struct nlmsvc_binding nfsd_nlm_ops = { .fopen = nlm_fopen, /* open file for locking */ .fclose = nlm_fclose, /* close file */ + .get_grace_period = get_nfs4_grace_period, }; void