diff options
author | Ryan Moeller <[email protected]> | 2020-07-11 20:16:13 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-11 17:16:13 -0700 |
commit | 217f48373f9878a3cd714b8007444f46101aad9e (patch) | |
tree | 6adaaedfbc6541a88bda6647a38d33cdb0be4bbd /include | |
parent | 3933305eaca95ad6c3003765326136d4d710ba0e (diff) |
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 <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10550
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions