summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2012-09-03 13:34:22 +0200
committerAnand Avati <avati@redhat.com>2013-02-07 13:38:20 -0800
commitfbb9ad5030abf058ce75af1890b7ec1be77d22f9 (patch)
tree5895f7474ea5b728236e90216cf94805807a22b5 /libglusterfs
parent0f4bd1706f9243a0ae3569c47889ba7a784be23a (diff)
mount/fuse: add mount-option "enable-ino32" for the native client
By default the GlusterFS-native client uses 64-bit inodes. Some 32-bit applications can not handle these correctly. Introduce a client-side mount option "enable-ino32" which causes the FUSE-client to squash the 64-bit inodes into a 32-bit value. Change-Id: I7544010a27b7eb2d3b9fadb84ed934e4e7dff21e BUG: 850352 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/3886 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
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 8d6abdb0454..035bb7c0e7d 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -297,6 +297,7 @@ struct _cmd_args {
int read_only;
int acl;
int selinux;
+ int enable_ino32;
int worm;
int mac_compat;
struct list_head xlator_options; /* list of xlator_option_t */