diff options
| author | Kaushal M <kaushal@redhat.com> | 2018-07-10 20:56:08 +0530 |
|---|---|---|
| committer | jiffin tony Thottan <jthottan@redhat.com> | 2018-08-17 05:34:22 +0000 |
| commit | 4fc27a7e3022088dbadedb5c2a83b94ae52e1766 (patch) | |
| tree | 9ead727321441c0c572694a2bae2cb1403184859 /api/src/glfs-resolve.c | |
| parent | c1ebde370ce3b7469f162dfe8aa8751223874605 (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
BUG: 1599788
Signed-off-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'api/src/glfs-resolve.c')
0 files changed, 0 insertions, 0 deletions
