diff options
author | Varun Shastry <vshastry@redhat.com> | 2012-10-29 16:21:24 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-11-09 02:44:04 -0800 |
commit | 0d9a38bb576beac24d0694633a79cff7e8c11a9f (patch) | |
tree | f1944483e6d9eea5fcbb1a72d8c79af4f49e0fc8 /glusterfs-hadoop | |
parent | b0cb7aaf04eff033a329e017a8628c84a62e33cd (diff) |
features/quota: Failure of quota commands if the dir-name contains ':' in it
PROBLEM:
The first colon in the limit string is used to separate the path and the
limit-value. The ':' in the path was the source of problem.
FIX:
Search for the last colon and separate based on the same.
Added regression test.
TEST:
Create and set quota on directories with names containing ':' in start, middle
and end.
Change-Id: I363c8ad4cbfd02c23fc73974bef9aa8bc362d29c
BUG: 848251
Signed-off-by: Varun Shastry <vshastry@redhat.com>
Reviewed-on: http://review.gluster.org/4137
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs-hadoop')
0 files changed, 0 insertions, 0 deletions