diff options
author | Csaba Henk <csaba@redhat.com> | 2012-08-14 14:45:28 +0300 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-08-19 09:32:13 -0700 |
commit | 3e62998978d3e6735a1857b4082e8c39dfd327d2 (patch) | |
tree | d81f83dd73535e26ee1c5578903906642b444f08 /xlators | |
parent | 6e3244a131b6d25141bef0cbc59968d3271f8ea3 (diff) |
fix "--client-pid"
http://review.gluster.com/3698 broke special clients by omitting the
conversion of the client_pid_set parameter to the new xlator option
framework.
Change-Id: I0dc886dffba9c4a9fe8d97e5feccfa5f95784ce1
BUG: 848034
Signed-off-by: Csaba Henk <csaba@redhat.com>
Reviewed-on: http://review.gluster.com/3820
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index e5fa3a6b61b..837980efcec 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -4588,6 +4588,8 @@ init (xlator_t *this_xl) cleanup_exit); GF_OPTION_INIT ("client-pid", priv->client_pid, int32, cleanup_exit); + /* have to check & register the presence of client-pid manually */ + priv->client_pid_set = !!dict_get (this_xl->options, "client-pid"); GF_OPTION_INIT ("uid-map-root", priv->uid_map_root, uint32, cleanup_exit); |