]> Pileus Git - ~andy/linux/commit
ext4: collapse handling of data=ordered and data=writeback codepaths
authorTheodore Ts'o <tytso@mit.edu>
Wed, 3 Apr 2013 16:39:17 +0000 (12:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Apr 2013 16:39:17 +0000 (12:39 -0400)
commit74d553aad7926ed05e05d9d5cff516a7b31375fc
treeb18222cb547c2ce4e18a9538bc28f92e2978c600
parent8cde7ad17e4f4ff8d12ff60dd09c0a291cb0b61c
ext4: collapse handling of data=ordered and data=writeback codepaths

The only difference between how we handle data=ordered and
data=writeback is a single call to ext4_jbd2_file_inode().  Eliminate
code duplication by factoring out redundant the code paths.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
fs/ext4/ext4.h
fs/ext4/inode.c
include/trace/events/ext4.h