projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c38881
)
ocfs2: Remove unused old_id in ocfs2_commit_cache.
author
Tao Ma
<tao.ma@oracle.com>
Mon, 2 Aug 2010 03:02:13 +0000
(11:02 +0800)
committer
Joel Becker
<joel.becker@oracle.com>
Fri, 10 Sep 2010 15:40:08 +0000
(08:40 -0700)
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/journal.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/journal.c
b/fs/ocfs2/journal.c
index 04d41dfeab9a694e80f5fc3d9e4f6d1cabeac06b..5787802c2d6a4ca343cfc66daa921ea70968997c 100644
(file)
--- a/
fs/ocfs2/journal.c
+++ b/
fs/ocfs2/journal.c
@@
-301,7
+301,6
@@
static int ocfs2_commit_cache(struct ocfs2_super *osb)
{
int status = 0;
unsigned int flushed;
- unsigned long old_id;
struct ocfs2_journal *journal = NULL;
mlog_entry_void();
@@
-326,7
+325,7
@@
static int ocfs2_commit_cache(struct ocfs2_super *osb)
goto finally;
}
- o
ld_id = o
cfs2_inc_trans_id(journal);
+ ocfs2_inc_trans_id(journal);
flushed = atomic_read(&journal->j_num_trans);
atomic_set(&journal->j_num_trans, 0);