Skip to content
Permalink
Browse files

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
  • Loading branch information...
kusumi authored and tonyhutter committed May 24, 2019
1 parent 5d19b35 commit 83db2334664987926df5d2003f42122cc5af115a
Showing with 1 addition and 2 deletions.
  1. +1 −2 module/zfs/zfs_ctldir.c
@@ -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)
{

0 comments on commit 83db233

Please sign in to comment.
You can’t perform that action at this time.