diff options
author | Sakshi Bansal <sabansal@redhat.com> | 2016-05-17 13:23:28 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2016-05-18 23:05:30 -0700 |
commit | 21b11fca3cf647a60554da5258e787f4f05c8458 (patch) | |
tree | a8d8e9a12314d6f89b14cbedfad476a247e87637 /xlators/mgmt/glusterd/src | |
parent | 34056a0740d87e0b56e40fbf53b46443b0c9c444 (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.
Backport of http://review.gluster.org/#/c/14371/
> Change-Id: I24a34605a2cd65984910643ff5462f35e8fc7e71
> BUG: 1336698
> Signed-off-by: Sakshi Bansal <sabansal@redhat.com>
Change-Id: I24a34605a2cd65984910643ff5462f35e8fc7e71
BUG: 1337022
Signed-off-by: Sakshi Bansal <sabansal@redhat.com>
Reviewed-on: http://review.gluster.org/14407
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
0 files changed, 0 insertions, 0 deletions