diff options
author | Sakshi Bansal <sabansal@redhat.com> | 2016-05-17 13:23:28 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2016-05-18 02:59:25 -0700 |
commit | 6a6b953d4f999b6db11cc6b62880e810aee9a4c7 (patch) | |
tree | 92f9cc05376e991e46d3db1d73f0e7e76906ef36 /rpc/rpc-transport/rdma/src/name.c | |
parent | 2df72780e473709128a4f5d7f274a9063b288252 (diff) |
dht: rename takes lock on parent directory if destination exists
For directory rename if destination exists the source directory
is created as a child of the given destination directory. Since
the new child directory does not exist take lock on parent of the
child directory.
Change-Id: I24a34605a2cd65984910643ff5462f35e8fc7e71
BUG: 1336698
Signed-off-by: Sakshi Bansal <sabansal@redhat.com>
Reviewed-on: http://review.gluster.org/14371
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc/rpc-transport/rdma/src/name.c')
0 files changed, 0 insertions, 0 deletions