mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
OpenZFS 7336 - vfork and O_CLOEXEC causes zfs_mount EBUSY
Porting notes: - statvfs64 is replaced by statfs64. - ZFS_SUPER_MAGIC definition moved in include/sys/fs/zfs.h to share it between user and kernel space. Authored by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: George Melikov <mail@gmelikov.ru> OpenZFS-issue: https://www.illumos.org/issues/7336 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/dd862f6d Closes #5651
This commit is contained in:
committed by
Brian Behlendorf
parent
f925de3a20
commit
774ee3c7ce
@@ -924,6 +924,8 @@ typedef struct ddt_histogram {
|
||||
#define ZFS_DEV "/dev/zfs"
|
||||
#define ZFS_SHARETAB "/etc/dfs/sharetab"
|
||||
|
||||
#define ZFS_SUPER_MAGIC 0x2fc12fc1
|
||||
|
||||
/* general zvol path */
|
||||
#define ZVOL_DIR "/dev"
|
||||
|
||||
|
||||
@@ -119,8 +119,6 @@ typedef struct zfs_sb {
|
||||
kmutex_t *z_hold_locks; /* znode hold locks */
|
||||
} zfs_sb_t;
|
||||
|
||||
#define ZFS_SUPER_MAGIC 0x2fc12fc1
|
||||
|
||||
#define ZSB_XATTR 0x0001 /* Enable user xattrs */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user