diff options
Diffstat (limited to 'xlators/cluster/dht')
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index a262ba6ca67..6001cd3180a 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -3860,7 +3860,7 @@ dht_rmdir_do (call_frame_t *frame, xlator_t *this)  		STACK_WIND (frame, dht_rmdir_cbk,  			    conf->subvolumes[i],  			    conf->subvolumes[i]->fops->rmdir, -			    &local->loc); +			    &local->loc, local->flags);  	}  	return 0; @@ -4127,7 +4127,7 @@ err:  int -dht_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc) +dht_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc, int flags)  {  	dht_local_t  *local  = NULL;  	dht_conf_t   *conf = NULL; @@ -4163,6 +4163,8 @@ dht_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc)  		goto err;  	} +        local->flags = flags; +  	local->fd = fd_create (local->loc.inode, frame->root->pid);  	if (!local->fd) {  		gf_log (this->name, GF_LOG_ERROR,  | 
