mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197408
@ -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 New Issue
Block a user