Add ZFS to Linux statfs ftype
PR: 220086 Reviewed by: cem MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D11252
This commit is contained in:
parent
fa8d7c4417
commit
dbaa9ebf1b
@ -318,6 +318,7 @@ struct l_statfs {
|
||||
#define LINUX_NTFS_SUPER_MAGIC 0x5346544EL
|
||||
#define LINUX_PROC_SUPER_MAGIC 0x9fa0L
|
||||
#define LINUX_UFS_SUPER_MAGIC 0x00011954L /* XXX - UFS_MAGIC in Linux */
|
||||
#define LINUX_ZFS_SUPER_MAGIC 0x2FC12FC1
|
||||
#define LINUX_DEVFS_SUPER_MAGIC 0x1373L
|
||||
#define LINUX_SHMFS_MAGIC 0x01021994
|
||||
|
||||
@ -327,6 +328,7 @@ bsd_to_linux_ftype(const char *fstypename)
|
||||
int i;
|
||||
static struct {const char *bsd_name; long linux_type;} b2l_tbl[] = {
|
||||
{"ufs", LINUX_UFS_SUPER_MAGIC},
|
||||
{"zfs", LINUX_ZFS_SUPER_MAGIC},
|
||||
{"cd9660", LINUX_ISOFS_SUPER_MAGIC},
|
||||
{"nfs", LINUX_NFS_SUPER_MAGIC},
|
||||
{"ext2fs", LINUX_EXT2_SUPER_MAGIC},
|
||||
|
Loading…
Reference in New Issue
Block a user