aboutsummaryrefslogtreecommitdiff
path: root/sbin/newfs/mkfs.c
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-10-31 21:52:28 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-10-31 21:52:28 +0000
commit868c68ed1db7cc40afda94217d1182d0a82eea71 (patch)
treeb48f4736ca193851013f4dcfe8f64cc8cedffd00 /sbin/newfs/mkfs.c
parent1a60c7fc8e0ffc8b679fa96f3376a8d9ada53392 (diff)
downloadsrc-868c68ed1db7cc40afda94217d1182d0a82eea71.tar.gz
src-868c68ed1db7cc40afda94217d1182d0a82eea71.zip
Notes
Diffstat (limited to 'sbin/newfs/mkfs.c')
-rw-r--r--sbin/newfs/mkfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 916b34cde4fa..fe862b58f164 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -135,6 +135,8 @@ mkfs(struct partition *pp, char *fsys)
sblock.fs_flags |= FS_DOSOFTDEP;
if (Lflag)
strlcpy(sblock.fs_volname, volumelabel, MAXVOLLEN);
+ if (Jflag)
+ sblock.fs_flags |= FS_GJOURNAL;
if (lflag)
sblock.fs_flags |= FS_MULTILABEL;
/*