summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-09-12 18:24:13 +0200
committerJ. Bruce Fields <bfields@redhat.com>2011-09-16 23:44:16 +0200
commitdad1c067eb42ec8bedadd64f681056914547d22e (patch)
treee4f8408fe930975491df079943d37ae9df274c25 /fs/nfsd/state.h
parentnfsd41: try to check reply size before operation (diff)
downloadlinux-dad1c067eb42ec8bedadd64f681056914547d22e.tar.xz
linux-dad1c067eb42ec8bedadd64f681056914547d22e.zip
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 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 {