summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-protocol.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-11-13 07:53:06 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-13 09:33:17 -0800
commit5c9a8a92edbd011e4fd5ec8e5f77eb13d7d8b771 (patch)
tree6a2d57a3db90e57a0bafeae0451dd3025d5c95aa /xlators/protocol/client/src/client-protocol.h
parent410909f31704db212174dff874f71621c3cb0576 (diff)
protocol/client: preserve open/create flags in fdctx for reopening
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 170 (Auto-heal fails on files that are open()-ed/mmap()-ed) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=170
Diffstat (limited to 'xlators/protocol/client/src/client-protocol.h')
-rw-r--r--xlators/protocol/client/src/client-protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-protocol.h b/xlators/protocol/client/src/client-protocol.h
index 8801d530bb9..27348690296 100644
--- a/xlators/protocol/client/src/client-protocol.h
+++ b/xlators/protocol/client/src/client-protocol.h
@@ -111,6 +111,8 @@ typedef struct {
fd_t *fd;
gf_op_t op;
client_fd_ctx_t *fdctx;
+ uint32_t flags;
+ uint32_t wbflags;
} client_local_t;