Move ZVOL_DIR back to zfs.h
This was previously moved because nothing else in-tree uses it, but evidently DilOS uses it out of tree. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Igor Kozhukhov <igor@dilos.org> Signed-off-by: Ryan Moeller <freqlabs@freebsd.org> Closes #10361 Closes #10685
This commit is contained in:
parent
0f95ddcc0c
commit
ed726fb063
|
@ -1173,6 +1173,9 @@ typedef struct ddt_histogram {
|
|||
|
||||
#define ZFS_SUPER_MAGIC 0x2fc12fc1
|
||||
|
||||
/* general zvol path */
|
||||
#define ZVOL_DIR "/dev/zvol/"
|
||||
|
||||
#define ZVOL_MAJOR 230
|
||||
#define ZVOL_MINOR_BITS 4
|
||||
#define ZVOL_MINOR_MASK ((1U << ZVOL_MINOR_BITS) - 1)
|
||||
|
|
|
@ -98,7 +98,6 @@
|
|||
|
||||
#include "zfs_namecheck.h"
|
||||
|
||||
#define ZVOL_DIR "/dev/zvol/"
|
||||
#define ZVOL_DUMPSIZE "dumpsize"
|
||||
|
||||
#ifdef ZVOL_LOCK_DEBUG
|
||||
|
|
Loading…
Reference in New Issue