Drop local definition of MOUNT_BUSY

It's accessible via <sys/mntent.h>.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #8765
This commit is contained in:
Tomohiro Kusumi 2019-05-25 08:43:23 +09:00 committed by Tony Hutter
parent e0cd6c28a3
commit 4933b0a25b

View File

@ -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)
{