summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4xdr.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-06-24 07:03:23 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 09:06:31 +0200
commit7b190fecfa33d72bcf74c9473134c2ad14ae9545 (patch)
tree94769b846f9d4e38a831f6e343db34bbfdb403bc /fs/nfsd/nfs4xdr.c
parent[PATCH] knfsd: nfsd4: simplify lease changing (diff)
downloadlinux-7b190fecfa33d72bcf74c9473134c2ad14ae9545.tar.xz
linux-7b190fecfa33d72bcf74c9473134c2ad14ae9545.zip
[PATCH] knfsd: nfsd4: delegation recovery
Allow recovery of delegations after reboot. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r--fs/nfsd/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 0ae1467c3bc3..cfe978a72cea 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -1972,7 +1972,7 @@ nfsd4_encode_open(struct nfsd4_compoundres *resp, int nfserr, struct nfsd4_open
case NFS4_OPEN_DELEGATE_READ:
RESERVE_SPACE(20 + sizeof(stateid_t));
WRITEMEM(&open->op_delegate_stateid, sizeof(stateid_t));
- WRITE32(0);
+ WRITE32(open->op_recall);
/*
* TODO: ACE's in delegations