/home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:187:21: note: in definition of macro ‘e_ldiskfsfs_dirhash’
187 | ldiskfsfs_dirhash(name, len, info)
| ^~~~
In file included from /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_internal.h:54,
from /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:40:
/home/ablagodarenko/workdir/lustre-ex/ldiskfs/ldiskfs.h:2770:50: note: expected ‘const struct inode *’ but argument is of type ‘const char *’
2770 | extern int ldiskfsfs_dirhash(const struct inode *dir, const char *name, int len,
| ~~~~~~~~~~~~~~~~~~~~^~~
/home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:210:29: warning: passing argument 2 of ‘ldiskfsfs_dirhash’ makes pointer from integer without a cast [-Wint-conversion]
210 | e_ldiskfsfs_dirhash(name, namelen, &hinfo);
| ^~~~~~~
| |
| int