From 1ebd1f82890e302738a77b425240244252c7db97 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Sat, 25 May 2019 08:43:23 +0900 Subject: [PATCH] Drop local definition of MOUNT_BUSY It's accessible via . Reviewed-by: Brian Behlendorf Reviewed-by: Tom Caputi Signed-off-by: Tomohiro Kusumi Closes #8765 --- module/os/linux/zfs/zfs_ctldir.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/os/linux/zfs/zfs_ctldir.c b/module/os/linux/zfs/zfs_ctldir.c index 46e6e19b91d5..c8071a7c215f 100644 --- a/module/os/linux/zfs/zfs_ctldir.c +++ b/module/os/linux/zfs/zfs_ctldir.c @@ -85,6 +85,7 @@ #include #include #include +#include #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) {