mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Don't build ufs_gjournal.c at all if UFS_GJOURNAL option is not given
instead of building an almost empty C file. Approved by: pjd Approved by: ed (mentor, implicit)
This commit is contained in:
parent
1c2825bd80
commit
e0a770a01d
2 changed files with 1 additions and 5 deletions
|
|
@ -2634,7 +2634,7 @@ ufs/ufs/ufs_acl.c optional ffs
|
|||
ufs/ufs/ufs_bmap.c optional ffs
|
||||
ufs/ufs/ufs_dirhash.c optional ffs
|
||||
ufs/ufs/ufs_extattr.c optional ffs
|
||||
ufs/ufs/ufs_gjournal.c optional ffs
|
||||
ufs/ufs/ufs_gjournal.c optional ffs UFS_GJOURNAL
|
||||
ufs/ufs/ufs_inode.c optional ffs
|
||||
ufs/ufs/ufs_lookup.c optional ffs
|
||||
ufs/ufs/ufs_quota.c optional ffs
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
#include "opt_ufs.h"
|
||||
|
||||
#ifdef UFS_GJOURNAL
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
|
@ -137,5 +135,3 @@ ufs_gjournal_close(struct vnode *vp)
|
|||
return;
|
||||
ufs_gjournal_modref(vp, -1);
|
||||
}
|
||||
|
||||
#endif /* UFS_GJOURNAL */
|
||||
|
|
|
|||
Loading…
Reference in a new issue