summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-03-24 04:04:51 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-24 05:42:20 -0700
commit3f8dc989b71977c2e3f94482b21be92b8562ea83 (patch)
tree9be6b5912d884a2a83271ad041cff3aa497be1a7 /libglusterfs
parent1a15248382e53e5c04cb6235144001d697f6b09b (diff)
added '--read-only' command line option for glusterfs
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 712 (mount.glusterfs script doesn't handle 'ro' option) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=712
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/glusterfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 42084ba3ab9..464c4302570 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -232,6 +232,7 @@ struct _cmd_args {
int no_daemon_mode;
char *run_id;
int debug_mode;
+ int read_only;
struct list_head xlator_options; /* list of xlator_option_t */
/* fuse options */