summaryrefslogtreecommitdiffstats
path: root/xlators/features/leases/src/leases.h
diff options
context:
space:
mode:
authorSakshi Bansal <sabansal@redhat.com>2016-05-17 13:23:28 +0530
committerRaghavendra G <rgowdapp@redhat.com>2016-05-20 03:54:56 -0700
commitb82fefed59cd3964c4d667b1645e70825be8e984 (patch)
tree16747470f68676f5140ca844aa944af4511609fa /xlators/features/leases/src/leases.h
parentf7bbe289616a282f4f28e1537a71bc3f6bf67c8a (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: 1337394 Signed-off-by: Sakshi Bansal <sabansal@redhat.com> Reviewed-on: http://review.gluster.org/14417 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/leases/src/leases.h')
0 files changed, 0 insertions, 0 deletions