[pnfs] [PATCH 01/10] pnfsd: initialize layoutget return_on_close
andros at netapp.com
andros at netapp.com
Wed May 7 16:53:36 EDT 2008
From: Andy Adamson <andros at umich.edu>
Signed-off-by: Andy Adamson<andros at netapp.com>
---
fs/nfsd/nfs4xdr.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 40c25b8..b6b8ac8 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -3469,7 +3469,9 @@ nfsd4_encode_layoutget(struct nfsd4_compoundres *resp,
int maxcount, leadcount;
struct super_block *sb;
unsigned int *p_start = resp->p;
- struct pnfs_layoutget_arg args;
+ struct pnfs_layoutget_arg args = {
+ .return_on_close = 0,
+ };
ENCODE_HEAD;
dprintk("%s: err %d\n", __func__, nfserr);
--
1.5.4.1
More information about the pNFS
mailing list