From 4933b0a25b24fbfe79d1495871cd9ed3eeae97ea 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/zfs/zfs_ctldir.c | 3 +-- 1 file changed, 1 insertion(+), 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 #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) {