mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-27 18:34:22 +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
43977948aa
commit
c3e5907fdb
@ -85,6 +85,7 @@
|
|||||||
#include <sys/dsl_destroy.h>
|
#include <sys/dsl_destroy.h>
|
||||||
#include <sys/dsl_deleg.h>
|
#include <sys/dsl_deleg.h>
|
||||||
#include <sys/zpl.h>
|
#include <sys/zpl.h>
|
||||||
|
#include <sys/mntent.h>
|
||||||
#include "zfs_namecheck.h"
|
#include "zfs_namecheck.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1047,8 +1048,6 @@ zfsctl_snapshot_unmount(char *snapname, int flags)
|
|||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MOUNT_BUSY 0x80 /* Mount failed due to EBUSY (from mntent.h) */
|
|
||||||
|
|
||||||
int
|
int
|
||||||
zfsctl_snapshot_mount(struct path *path, int flags)
|
zfsctl_snapshot_mount(struct path *path, int flags)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user