Add FEATURE knob for testing for UFS extended attribute kernel support

Support can be verified via `feature_present("ufs_extattr")`, etc.

Differential Revision: https://reviews.freebsd.org/D6053
MFC after: 2 weeks
Relnotes: yes
Reviewed by: asomers, kib
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-04-22 08:09:27 +00:00
parent e9f8d18ebe
commit 028d33c96a

View File

@ -69,6 +69,8 @@ __FBSDID("$FreeBSD$");
#ifdef UFS_EXTATTR
FEATURE(ufs_extattr, "ufs extended attribute support");
static MALLOC_DEFINE(M_UFS_EXTATTR, "ufs_extattr", "ufs extended attribute");
static int ufs_extattr_sync = 0;