recovery: nfs41_open_reclaim()

added types and xdr for CLAIM_PREVIOUS, used by new function nfs41_open_reclaim()

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2010-11-16 11:41:39 -05:00 committed by unknown
parent ab906f25b8
commit 3ca917f6b3
3 changed files with 99 additions and 0 deletions

View file

@ -585,6 +585,10 @@ typedef struct __open_claim4 {
struct __open_claim_null {
const nfs41_component *filename;
} null;
/* case CLAIM_PREVIOUS: */
struct __open_claim_prev {
uint32_t delegate_type;
} prev;
} u;
} open_claim4;
@ -900,6 +904,15 @@ int nfs41_open(
IN OUT nfs41_open_state *state,
OUT nfs41_file_info *info);
int nfs41_open_reclaim(
IN nfs41_session *session,
IN nfs41_path_fh *parent,
IN nfs41_path_fh *file,
IN state_owner4 *owner,
IN uint32_t allow,
IN uint32_t deny,
OUT stateid4 *stateid);
int nfs41_create(
IN nfs41_session *session,
IN uint32_t type,