summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorTomohiro Kusumi <[email protected]>2019-05-25 08:43:23 +0900
committerTony Hutter <[email protected]>2019-09-25 11:27:46 -0700
commit4933b0a25b24fbfe79d1495871cd9ed3eeae97ea (patch)
tree998f4c3d864c1056a9baeb82b48ae882c68f48ed /module
parente0cd6c28a38bb514351eb696e613e0e36755f867 (diff)
Drop local definition of MOUNT_BUSY
It's accessible via <sys/mntent.h>. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tom Caputi <[email protected]> Signed-off-by: Tomohiro Kusumi <[email protected]> Closes #8765
Diffstat (limited to 'module')
-rw-r--r--module/zfs/zfs_ctldir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c
index 46e6e19b9..c8071a7c2 100644
--- a/module/zfs/zfs_ctldir.c
+++ b/module/zfs/zfs_ctldir.c
@@ -85,6 +85,7 @@
#include <sys/dsl_destroy.h>
#include <sys/dsl_deleg.h>
#include <sys/zpl.h>
+#include <sys/mntent.h>
#include "zfs_namecheck.h"
/*
@@ -1047,8 +1048,6 @@ zfsctl_snapshot_unmount(char *snapname, int flags)
return (error);
}
-#define MOUNT_BUSY 0x80 /* Mount failed due to EBUSY (from mntent.h) */
-
int
zfsctl_snapshot_mount(struct path *path, int flags)
{