On Wed, 9 Feb 2011, Alexander Leidinger wrote:
Author: netchild
Date: Wed Feb 9 15:33:13 2011
New Revision: 218485
URL: http://svn.freebsd.org/changeset/base/218485
Log:
Add some FEATURE macros for some UFS features.
SU+J is not included as a FEATURE macro:
- it was not in the tree during the GSoC
- I do not see an option to en-/disable it in NOTES
Two minor changes where made during the review compared to what was developed
during GSoC 2010.
No FreeBSD version bump, the userland application to query the features will
be committed last and can serve as an indication of the availablility if
needed.
Sponsored by: Google Summer of Code 2010
Submitted by: kibab
Modified: head/sys/ufs/ufs/ufs_vnops.c
==============================================================================
--- head/sys/ufs/ufs/ufs_vnops.c Wed Feb 9 15:32:04 2011
(r218484)
+++ head/sys/ufs/ufs/ufs_vnops.c Wed Feb 9 15:33:13 2011
(r218485)
@@ -82,8 +82,19 @@ __FBSDID("$FreeBSD$");
#endif
#ifdef UFS_GJOURNAL
#include <ufs/ufs/gjournal.h>
+FEATURE(ufs_gjournal, "Journaling support through GEOM for UFS");
#endif
+#ifdef QUOTA
+FEATURE(ufs_quota, "UFS disk quotas support");
+FEATURE(ufs_quota64, "64bit UFS disk quotas support");
+#endif
+
+#ifdef SUIDDIR
+FEATURE(suiddir, "Give all new files in directory the same ownership as the
directory");
80charwide80charwide80charwide80charwide80charwide80charwide80charwide80charwide
Please wrap long lines.
+#endif
+
+
#include <ufs/ffs/ffs_extern.h>
static vop_accessx_t ufs_accessx;
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"