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/state.h | |
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/state.h')
-rw-r--r-- | fs/nfsd/state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 12c142436705..a8324b868a36 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -371,7 +371,8 @@ struct nfs4_openowner { struct list_head oo_perclient; struct list_head oo_close_lru; /* tail queue */ time_t oo_time; /* time of placement on so_close_lru */ - int oo_confirmed; /* successful OPEN_CONFIRM? */ +#define NFS4_OO_CONFIRMED 1 + unsigned char oo_flags; }; struct nfs4_lockowner { |