diff options
author | Ravishankar N <ravishankar@redhat.com> | 2019-01-24 12:14:11 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-01-24 12:16:50 +0000 |
commit | 06061aaa447f03e2522483d02525619ebc9854db (patch) | |
tree | 814472e5c7e5c1c36e034ab10366c544fa65e275 /libglusterfs/src/libglusterfs.sym | |
parent | 04f84756e1baa5eff4560339700f82970eaa5d80 (diff) |
afr/self-heal:Fix wrong type checking
gf_dirent struct has d_type variable which should check
with DT_DIR istead of IA_IFDIR or IA_IFDIR has to compare
with entry->d_stat.ia_type
Change-Id: Idf1059ce2a590734bc5b6adaad73604d9a708804
updates: bz#1653359
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'libglusterfs/src/libglusterfs.sym')
-rw-r--r-- | libglusterfs/src/libglusterfs.sym | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/libglusterfs.sym b/libglusterfs/src/libglusterfs.sym index beeab5468f9..f0a92796187 100644 --- a/libglusterfs/src/libglusterfs.sym +++ b/libglusterfs/src/libglusterfs.sym @@ -1150,3 +1150,4 @@ gf_changelog_init gf_changelog_register_generic gf_gfid_generate_from_xxh64 find_xlator_option_in_cmd_args_t +gf_d_type_from_ia_type |