From 3e62998978d3e6735a1857b4082e8c39dfd327d2 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Tue, 14 Aug 2012 14:45:28 +0300 Subject: 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 Reviewed-on: http://review.gluster.com/3820 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/mount/fuse/src/fuse-bridge.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/mount/fuse') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index e5fa3a6b6..837980efc 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); -- cgit