jbd2: factor out common descriptor block initialization
authorJan Kara <jack@suse.cz>
Tue, 23 Feb 2016 04:17:15 +0000 (23:17 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 23 Feb 2016 04:17:15 +0000 (23:17 -0500)
commit32ab671599a89534f37e97d146c27690e371b661
tree6fe66460f49b278a6c7115fe2d3d03733c91bc2f
parent9bcf976cb8b86eb40e0c0b495a14e4cb967b9c6e
jbd2: factor out common descriptor block initialization

Descriptor block header is initialized in several places. Factor out the
common code into jbd2_journal_get_descriptor_buffer().

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/commit.c
fs/jbd2/journal.c
fs/jbd2/revoke.c
include/linux/jbd2.h