ocfs2: Remove unused old_id in ocfs2_commit_cache.
Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
This commit is contained in:
Родитель
4c38881f87
Коммит
f9c57ada32
|
@ -301,7 +301,6 @@ static int ocfs2_commit_cache(struct ocfs2_super *osb)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
unsigned int flushed;
|
unsigned int flushed;
|
||||||
unsigned long old_id;
|
|
||||||
struct ocfs2_journal *journal = NULL;
|
struct ocfs2_journal *journal = NULL;
|
||||||
|
|
||||||
mlog_entry_void();
|
mlog_entry_void();
|
||||||
|
@ -326,7 +325,7 @@ static int ocfs2_commit_cache(struct ocfs2_super *osb)
|
||||||
goto finally;
|
goto finally;
|
||||||
}
|
}
|
||||||
|
|
||||||
old_id = ocfs2_inc_trans_id(journal);
|
ocfs2_inc_trans_id(journal);
|
||||||
|
|
||||||
flushed = atomic_read(&journal->j_num_trans);
|
flushed = atomic_read(&journal->j_num_trans);
|
||||||
atomic_set(&journal->j_num_trans, 0);
|
atomic_set(&journal->j_num_trans, 0);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче