mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-29 18:24:11 +03:00
OpenZFS 5428 - provide fts(), reallocarray(), and strtonum()
Authored by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Ported-by: Brian Behlendorf <behlendorf1@llnl.gov> Porting Notes: * All hunks unrelated to ZFS were dropped. OpenZFS-issue: https://www.illumos.org/issues/5428 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/4585130 Closes #6326
This commit is contained in:
committed by
Brian Behlendorf
parent
b24827ac1e
commit
e19572e4cc
@@ -604,7 +604,7 @@ fuidstr_to_sid(zfsvfs_t *zfsvfs, const char *fuidstr,
|
||||
uint64_t fuid;
|
||||
const char *domain;
|
||||
|
||||
fuid = strtonum(fuidstr, NULL);
|
||||
fuid = zfs_strtonum(fuidstr, NULL);
|
||||
|
||||
domain = zfs_fuid_find_by_idx(zfsvfs, FUID_INDEX(fuid));
|
||||
if (domain)
|
||||
|
||||
Reference in New Issue
Block a user