summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 03:00:20 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 03:00:20 +0000
commit1c15f4c7a56749d7e6364c203aa6cdc5eb829478 (patch)
tree9356472f22907c484e768160bd091049bebe11ae
parent106fb1fefe19b26bf51d5f5a28146daa42b7b0c8 (diff)
downloadFreeBSD-src-1c15f4c7a56749d7e6364c203aa6cdc5eb829478.zip
FreeBSD-src-1c15f4c7a56749d7e6364c203aa6cdc5eb829478.tar.gz
Add support for gjournal to dumpfs
PR: 165821 Submitted by: Andreas Longwitz <longwitz@incore.de> Approved by: cperciva MFC after: 3 days
-rw-r--r--sbin/dumpfs/dumpfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index 2926d1a..d560845 100644
--- a/sbin/dumpfs/dumpfs.c
+++ b/sbin/dumpfs/dumpfs.c
@@ -419,6 +419,8 @@ marshal(const char *name)
/* -i is dumb */
if (fs->fs_flags & FS_SUJ)
printf("-j ");
+ if (fs->fs_flags & FS_GJOURNAL)
+ printf("-J ");
/* -k..l unimplemented */
printf("-m %d ", fs->fs_minfree);
/* -n unimplemented */
OpenPOWER on IntegriCloud