diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-23 22:03:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 00:06:31 -0700 |
commit | 7b190fecfa33d72bcf74c9473134c2ad14ae9545 (patch) | |
tree | 94769b846f9d4e38a831f6e343db34bbfdb403bc /fs/nfsd/nfs4xdr.c | |
parent | d99a05adf8490cc171b7709554936b8f3ac9e362 (diff) | |
download | kernel_samsung_tuna-7b190fecfa33d72bcf74c9473134c2ad14ae9545.zip kernel_samsung_tuna-7b190fecfa33d72bcf74c9473134c2ad14ae9545.tar.gz kernel_samsung_tuna-7b190fecfa33d72bcf74c9473134c2ad14ae9545.tar.bz2 |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 0ae1467..cfe978a 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 |