diff options
author | Kaushal M <kaushal@redhat.com> | 2018-07-10 20:56:08 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-07-24 10:28:55 +0000 |
commit | 9c69bdbe657d076aee71aa3d7722e7f2d61fdca2 (patch) | |
tree | 3c0ce903804d17dbb5e2df4d6bbe496bee3f284c /scheduler/random/src/random.c | |
parent | 21276b31c2f6ac0978c93c0dcf8d7fe514c53b49 (diff) |
glusterd: _is_prefix should handle 0-length paths
If one of the paths given to _is_prefix is 0-length, then it is not a
prefix of the other. Hence, _is_prefix should return false.
Change-Id: I54aa577a64a58940ec91872d0d74dc19cff9106d
fixes: bz#1599785
Signed-off-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'scheduler/random/src/random.c')
0 files changed, 0 insertions, 0 deletions