From 2be53848801a2e8afefdafd1acc821615cbbe343 Mon Sep 17 00:00:00 2001 From: Jeff Darcy Date: Thu, 10 Jul 2014 07:30:42 -0400 Subject: client: pass xflags for unlink Nobody seems to use these currently, but I tried to for some debugging, and that led to a few head-scratches before I figured out that it wasn't being passed across the server/client boundary. Might as well fix it before somebody tries to use it for real and has to go through the same exercise. Change-Id: Ieddfac106103db02fdf488c86f3f979d29a6ab83 BUG: 1158614 Signed-off-by: Jeff Darcy Reviewed-on: http://review.gluster.org/8287 Tested-by: Gluster Build System Reviewed-by: Niels de Vos Reviewed-by: Pranith Kumar Karampuri Reviewed-by: Vijay Bellur --- xlators/protocol/client/src/client-rpc-fops.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/protocol') diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c index 5fe3f05e136..56de8b759ce 100644 --- a/xlators/protocol/client/src/client-rpc-fops.c +++ b/xlators/protocol/client/src/client-rpc-fops.c @@ -3489,6 +3489,7 @@ client3_3_unlink (call_frame_t *frame, xlator_t *this, !uuid_is_null (*((uuid_t*)req.pargfid)), unwind, op_errno, EINVAL); req.bname = (char *)args->loc->name; + req.xflags = args->flags; conf = this->private; GF_PROTOCOL_DICT_SERIALIZE (this, args->xdata, (&req.xdata.xdata_val), -- cgit