X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fobd.h;h=13c6cd7eebc500667f09873e697080a6ef2446e3;hb=d5a07cd08ad07fe0de0c5bda2b3b65c36461f601;hp=fd9363ecc058f127dda13cf59a739db67ec16619;hpb=2120ef466f9748774086177a3119fe641067a53d;p=fs%2Flustre-release.git diff --git a/lustre/include/obd.h b/lustre/include/obd.h index fd9363e..13c6cd7 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -1590,7 +1590,7 @@ static inline bool filename_is_volatile(const char *name, int namelen, int *idx) } /* we have an idx, read it */ start = name + LUSTRE_VOLATILE_HDR_LEN + 1; - *idx = strtoul(start, &end, 0); + *idx = strtoul(start, &end, 16); /* error cases: * no digit, no trailing :, negative value */