mirror_zfs/lib
Ryan Moeller 217f48373f
libzfs: Add error message for why creating mountpoint failed
When zfs_mount_at() fails to stat the mountpoint and can't create the
directory, we return an error with a message "failed to create
mountpoint" but there is no indication why it failed.

Add the error string from the syscall to the error aux message.

Update do_mount for Linux to return the errno instead of -1.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10550
2020-07-11 17:16:13 -07:00
..
libavl Fixes for make dist 2020-06-26 14:20:02 -07:00
libefi Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libicp Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libnvpair Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
libshare Fixes for make dist 2020-06-26 14:20:02 -07:00
libspl Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libtpool Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libunicode Fixes for make dist 2020-06-26 14:20:02 -07:00
libuutil Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
libzfs libzfs: Add error message for why creating mountpoint failed 2020-07-11 17:16:13 -07:00
libzfs_core Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
libzpool Unconditionally enable debugging for libzpool 2020-07-10 15:30:31 -07:00
libzutil Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
Makefile.am Clean up lib dependencies 2020-07-10 14:26:00 -07:00