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>
This commit is contained in:
J. Bruce Fields
2011-09-12 12:24:13 -04:00
parent 58e7b33a58
commit dad1c067eb
3 changed files with 16 additions and 15 deletions

View File

@@ -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 {