mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
921ec61b77
Build error on illumos with gcc 10 did reveal: In function 'dmu_objset_refresh_ownership': ../../common/fs/zfs/dmu_objset.c:857:25: error: implicit conversion from 'boolean_t' to 'ds_hold_flags_t' {aka 'enum ds_hold_flags'} [-Werror=enum-conversion] 857 | dsl_dataset_disown(ds, decrypt, tag); | ^~~~~~~ cc1: all warnings being treated as errors libzfs_input_check.c: In function 'zfs_ioc_input_tests': libzfs_input_check.c:754:28: error: implicit conversion from 'enum dmu_objset_type' to 'enum lzc_dataset_type' [-Werror=enum-conversion] 754 | err = lzc_create(dataset, DMU_OST_ZFS, NULL, NULL, 0); | ^~~~~~~~~~~ cc1: all warnings being treated as errors The same issue is present in openzfs, and also the same issue about ds_hold_flags_t, which currently defines exactly one valid value. Reviewed-by: Igor Kozhukhov <igor@dilos.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Toomas Soome <tsoome@me.com> Closes #11406 |
||
---|---|---|
.. | ||
badsend | ||
btree_test | ||
chg_usr_exec | ||
devname2devid | ||
dir_rd_update | ||
file_check | ||
file_trunc | ||
file_write | ||
get_diff | ||
largest_file | ||
libzfs_input_check | ||
mkbusy | ||
mkfile | ||
mkfiles | ||
mktree | ||
mmap_exec | ||
mmap_libaio | ||
mmapwrite | ||
nvlist_to_lua | ||
randfree_file | ||
randwritecomp | ||
readmmap | ||
rename_dir | ||
rm_lnkcnt_zero_file | ||
stride_dd | ||
threadsappend | ||
user_ns_exec | ||
xattrtest | ||
file_common.h | ||
Makefile.am |