nfsd41: handle current stateid in open and close

Signed-off-by: Tigran Mkrtchyan <kofemann@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Tigran Mkrtchyan
2012-02-13 22:55:24 +01:00
committed by J. Bruce Fields
parent 19ff0f288c
commit 8b70484c67
4 changed files with 70 additions and 4 deletions

11
fs/nfsd/current_stateid.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef _NFSD4_CURRENT_STATE_H
#define _NFSD4_CURRENT_STATE_H
#include "state.h"
#include "xdr4.h"
extern void nfsd4_set_openstateid(struct nfsd4_compound_state *, struct nfsd4_open *);
extern void nfsd4_get_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);
extern void nfsd4_set_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);
#endif /* _NFSD4_CURRENT_STATE_H */