VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: majianpeng <majianpeng@gmail.com> 2013-04-29 15:08:51 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2013-04-29 15:54:39 -0700 commit: e76004093db167730bb3871d6c307a3e32a821f4 parent: 346404682434ad0e31b71f9f37fb6c45a46fe208
Commit Summary:
fs/buffer.c: remove unnecessary init operation after allocating buffer_head.
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index ed10991ab006..8b220f1ab54f 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -367,8 +367,6 @@ retry_alloc:
 	}
 
 	/* keep subsequent assertions sane */
-	new_bh->b_state = 0;
-	init_buffer(new_bh, NULL, NULL);
 	atomic_set(&new_bh->b_count, 1);
 	new_jh = jbd2_journal_add_journal_head(new_bh);	/* This sleeps */