diff options
author | Kaushal M <kaushal@gluster.com> | 2011-11-02 11:27:30 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-11-22 19:46:06 -0800 |
commit | 33477a140fb4e891a05dd9261013e83035155350 (patch) | |
tree | ae7ec0427517bdf516facd5450a6c398f86e2900 /xlators/mount/fuse/src/fuse-bridge.h | |
parent | e1de01c3fdde2497cc4a24491b75579624467456 (diff) |
fuse: enable kernel read-only mode
Enables kernel read-only mode on mounting with '-oro' and disables the gluster
read-only translator from being loaded. As a result, '-oro' is reported
correctly in the mount options.
Change-Id: If94d97836b13668974cfac61b6e5d52e19880e10
BUG: 3742
Reviewed-on: http://review.gluster.com/655
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Csaba Henk <csaba@gluster.com>
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.h')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.h b/xlators/mount/fuse/src/fuse-bridge.h index 2215ad22f54..2b8323a8c18 100644 --- a/xlators/mount/fuse/src/fuse-bridge.h +++ b/xlators/mount/fuse/src/fuse-bridge.h @@ -108,6 +108,7 @@ struct fuse_private { gf_boolean_t client_pid_set; unsigned uid_map_root; gf_boolean_t acl; + gf_boolean_t read_only; }; typedef struct fuse_private fuse_private_t; |