mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
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:
parent
e0cd6c28a3
commit
4933b0a25b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user