commit | f0c9fd5458bacf7b12a9a579a727dc740cbe047e | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@gmail.com> | Thu Sep 15 12:02:32 2016 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Sep 15 12:02:32 2016 -0400 |
tree | f8fa3663bbb0b44944185ccf0fc09b2799d8ea67 | |
parent | be32197cd6b8c37425ca954e719d236e6117a8ee [diff] |
jbd2: move more common code into journal_init_common() There are some repetitive code in jbd2_journal_init_dev() and jbd2_journal_init_inode(). So this patch moves the common code into journal_init_common() helper to simplify the code. And fix the coding style warnings reported by checkpatch.pl by the way. Signed-off-by: Geliang Tang <geliangtang@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>