diff options
author | vmallika <vmallika@redhat.com> | 2015-07-07 16:03:26 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-07-12 23:41:31 -0700 |
commit | 4cd60d5456c2ff0fe0455c8d1d534776bb8269c4 (patch) | |
tree | 9ebb718bb150316841d0c6e1f40d8bd57fe6489f /tests/volume.rc | |
parent | 8a210d46424c2c7a20a9e8a94b0a4719df7cb8c7 (diff) |
quota/marker: set lk_owner when taking lock on parent in rename
This is a backport of http://review.gluster.org/#/c/11561/
Before doing a rename operation marker takes inode lock on the file
parent,
here lk_owner is NULL and this can cause accounting problem with
multiple rename on the same directory
This patch fix the problem by setting lk_owner
> Change-Id: Ibb789e39b2833e425d0a5fca85282ff1465206cb
> BUG: 1240598
> Signed-off-by: vmallika <vmallika@redhat.com>
Change-Id: Ibd3abaee2dd5d132906a79a518fbcedcdefc4552
BUG: 1241487
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/11601
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'tests/volume.rc')
0 files changed, 0 insertions, 0 deletions