summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index e9eed7c0233..e53f6809033 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -1109,6 +1109,9 @@ fattr_to_gf_set_attr (int32_t valid)
{
int32_t gf_valid = 0;
+ if (valid & FATTR_MODE)
+ gf_valid |= GF_SET_ATTR_MODE;
+
if (valid & FATTR_UID)
gf_valid |= GF_SET_ATTR_UID;