summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-09-12 12:24:13 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-09-16 17:44:16 -0400
commitdad1c067eb42ec8bedadd64f681056914547d22e (patch)
treee4f8408fe930975491df079943d37ae9df274c25 /fs/nfsd/state.h
parent58e7b33a58d0cd07c9294d5161553b204c75662d (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 12c14243670..a8324b868a3 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 {