diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-09-12 12:24:13 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-09-16 17:44:16 -0400 |
commit | dad1c067eb42ec8bedadd64f681056914547d22e (patch) | |
tree | e4f8408fe930975491df079943d37ae9df274c25 /fs/nfsd/nfs4proc.c | |
parent | 58e7b33a58d0cd07c9294d5161553b204c75662d (diff) |
nfsd4: replace oo_confirmed by flag bit
I want at least one more bit here. So, let's haul out the caps lock key
and add a flags field.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 752a367e0e3d..aa769dfa756a 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -375,7 +375,7 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, | |||
375 | goto out; | 375 | goto out; |
376 | break; | 376 | break; |
377 | case NFS4_OPEN_CLAIM_PREVIOUS: | 377 | case NFS4_OPEN_CLAIM_PREVIOUS: |
378 | open->op_openowner->oo_confirmed = 1; | 378 | open->op_openowner->oo_flags |= NFS4_OO_CONFIRMED; |
379 | /* | 379 | /* |
380 | * The CURRENT_FH is already set to the file being | 380 | * The CURRENT_FH is already set to the file being |
381 | * opened. (1) set open->op_cinfo, (2) set | 381 | * opened. (1) set open->op_cinfo, (2) set |
@@ -388,7 +388,7 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, | |||
388 | goto out; | 388 | goto out; |
389 | break; | 389 | break; |
390 | case NFS4_OPEN_CLAIM_DELEGATE_PREV: | 390 | case NFS4_OPEN_CLAIM_DELEGATE_PREV: |
391 | open->op_openowner->oo_confirmed = 1; | 391 | open->op_openowner->oo_flags |= NFS4_OO_CONFIRMED; |
392 | dprintk("NFSD: unsupported OPEN claim type %d\n", | 392 | dprintk("NFSD: unsupported OPEN claim type %d\n", |
393 | open->op_claim_type); | 393 | open->op_claim_type); |
394 | status = nfserr_notsupp; | 394 | status = nfserr_notsupp; |