mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 19:50:25 +03:00
Wrap with HAVE_MLSLABEL
The zfs_check_global_label() function is part of the HAVE_MLSLABEL support which was previously commented out by a HAVE_ZPL check. Since we're still deciding what to do about mls labels wrap it with the preexisting macro to keep it compiled out.
This commit is contained in:
parent
5649246dd3
commit
bc3e15e386
@ -1300,6 +1300,7 @@ zfs_parse_bootfs(char *bpath, char *outpath)
|
||||
return (error);
|
||||
}
|
||||
|
||||
#ifdef HAVE_MLSLABEL
|
||||
/*
|
||||
* zfs_check_global_label:
|
||||
* Check that the hex label string is appropriate for the dataset
|
||||
@ -1327,6 +1328,7 @@ zfs_check_global_label(const char *dsname, const char *hexsl)
|
||||
}
|
||||
return (EACCES);
|
||||
}
|
||||
#endif /* HAVE_MLSLABEL */
|
||||
|
||||
/*
|
||||
* zfs_mount_label_policy:
|
||||
|
Loading…
Reference in New Issue
Block a user