diff options
author | Amar Tumballi <amarts@redhat.com> | 2017-10-23 21:17:52 +0200 |
---|---|---|
committer | jiffin tony Thottan <jthottan@redhat.com> | 2017-11-06 11:43:42 +0000 |
commit | 4b480579320d6c594123e44fbedcba71f8815947 (patch) | |
tree | 703de19db1ad2c68cc76404e3104ceea70c14bb8 /cli/src/cli-cmd-volume.c | |
parent | a3aff30d92f8858b7acf3d7fb421e2a0a4dd7a79 (diff) |
protocol/server: fix the comparision logic in case of subdir mount
without the fix, the stat entry on a file would return inode==1 for
many files, in case of subdir mount
This happened with the confusion of return value of 'gf_uuid_compare()',
it is more like strcmp, instead of a gf_boolean return value, and hence
resulted in the bug.
Change-Id: I31b8cbd95eaa3af5ff916a969458e8e4020c86bb
BUG: 1505527
Signed-off-by: Amar Tumballi <amarts@redhat.com>
(cherry picked from commit 2ade36cd98ea0f5bd2a8f619a19c20438318afaf)
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
0 files changed, 0 insertions, 0 deletions