diff options
author | luneo7 <luneo7@gmail.com> | 2017-10-10 17:17:35 -0300 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-10-25 14:03:28 +0000 |
commit | be662aa3007898c22ad2e9d23db63f2e88a6d434 (patch) | |
tree | 674580e53be13b3959445c7fbbdb7cae94ce3d6a /xlators/mgmt/glusterd/src/glusterd.c | |
parent | 12404624ac94e0561170991f39bb3e8444022a97 (diff) |
features/worm: Adding check to newloc when doing rename
Problem: Since rename didn't check if newloc exists and it's
retention state it was possible to rename a new file that wasn't
in retention over a existing file that was in read-only state.
Cherry picked from commit 00a4dc0:
> Change-Id: I63c6bbabb7bb456ebedf201cc77b878ffda62229
> BUG: 1484490
> Signed-off-by: luneo7 <luneo7@gmail.com>
> Reviewed-on: https://review.gluster.org/18104
> Tested-by: jiffin tony Thottan <jthottan@redhat.com>
> Tested-by: Prashanth Pai <ppai@redhat.com>
> Smoke: Gluster Build System <jenkins@build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
> Reviewed-by: Prashanth Pai <ppai@redhat.com>
> Reviewed-by: Karthik U S <ksubrahm@redhat.com>
> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Change-Id: I63c6bbabb7bb456ebedf201cc77b878ffda62229
BUG: 1480788
Signed-off-by: luneo7 <luneo7@gmail.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
0 files changed, 0 insertions, 0 deletions