diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2008-09-04 09:04:45 -0700 | 
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2008-09-04 09:04:45 -0700 | 
| commit | fe47784ba5cbb6b713c013e046859946789b45e4 (patch) | |
| tree | 6384958d55e29be0d2eb8ae78fa437c10636d8d6 /fs/ubifs/commit.c | |
| parent | 83b8e28b14d63db928cb39e5c5ed2a548246bd71 (diff) | |
| parent | af2e1f276ff08f17192411ea3b71c13a758dfe12 (diff) | |
Merge branch 'x86/cpu' into x86/xsave
Conflicts:
	arch/x86/kernel/cpu/feature_names.c
	include/asm-x86/cpufeature.h
Diffstat (limited to 'fs/ubifs/commit.c')
| -rw-r--r-- | fs/ubifs/commit.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ubifs/commit.c b/fs/ubifs/commit.c index 3b516316c9b3..0a6aa2cc78f0 100644 --- a/fs/ubifs/commit.c +++ b/fs/ubifs/commit.c @@ -74,6 +74,7 @@ static int do_commit(struct ubifs_info *c)  			goto out_up;  	} +	c->cmt_no += 1;  	err = ubifs_gc_start_commit(c);  	if (err)  		goto out_up; @@ -115,7 +116,7 @@ static int do_commit(struct ubifs_info *c)  		goto out;  	mutex_lock(&c->mst_mutex); -	c->mst_node->cmt_no      = cpu_to_le64(++c->cmt_no); +	c->mst_node->cmt_no      = cpu_to_le64(c->cmt_no);  	c->mst_node->log_lnum    = cpu_to_le32(new_ltail_lnum);  	c->mst_node->root_lnum   = cpu_to_le32(zroot.lnum);  	c->mst_node->root_offs   = cpu_to_le32(zroot.offs);  | 
