Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568101f
)
Allow a single user for internal journals (the current filesystem)
author
Andreas Dilger
<adilger@clusterfs.com>
Fri, 9 Nov 2001 00:50:50 +0000
(17:50 -0700)
committer
Andreas Dilger
<adilger@clusterfs.com>
Fri, 9 Nov 2001 00:50:50 +0000
(17:50 -0700)
since this is how the filesystem is created.
e2fsck/journal.c
patch
|
blob
|
history
diff --git
a/e2fsck/journal.c
b/e2fsck/journal.c
index
62d4812
..
78f2f1a
100644
(file)
--- a/
e2fsck/journal.c
+++ b/
e2fsck/journal.c
@@
-402,7
+402,7
@@
static errcode_t e2fsck_journal_load(journal_t *journal)
case JFS_SUPERBLOCK_V2:
journal->j_format_version = 2;
- if (jsb->s_nr_users &&
+ if (jsb->s_nr_users
> 1
&&
(ctx->fs->io == ctx->journal_io))
clear_v2_journal_fields(journal);
if (ntohl(jsb->s_nr_users) > 1) {