summaryrefslogtreecommitdiffstats
path: root/lib/libzfs/libzfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libzfs/libzfs_mount.c')
-rw-r--r--lib/libzfs/libzfs_mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libzfs/libzfs_mount.c b/lib/libzfs/libzfs_mount.c
index bded1f001..68e4ef4de 100644
--- a/lib/libzfs/libzfs_mount.c
+++ b/lib/libzfs/libzfs_mount.c
@@ -292,6 +292,8 @@ do_mount(const char *src, const char *mntpt, char *opts)
return EINTR;
if (rc & MOUNT_SOFTWARE)
return EPIPE;
+ if (rc & MOUNT_BUSY)
+ return EBUSY;
if (rc & MOUNT_SYSERR)
return EAGAIN;
if (rc & MOUNT_USAGE)