diff options
author | luneo7 <luneo7@gmail.com> | 2017-08-23 15:25:57 -0300 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-09-18 07:14:59 +0000 |
commit | 00a4dc058a0573d18e9c1bd3692fecee151a9285 (patch) | |
tree | e61afa029aea080d04e47b71314b492c256ee0bc /cli/src/cli-cmd-parser.c | |
parent | dabfc3116ae59b331f967c090c0c51eb3f0355fd (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.
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>
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
0 files changed, 0 insertions, 0 deletions