ext4: cleanup handling of bh->b_state in DAX mmap
authorJan Kara <jack@suse.cz>
Thu, 10 Mar 2016 04:03:27 +0000 (23:03 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Mar 2016 04:03:27 +0000 (23:03 -0500)
commite3fb8eb14eafd2847c04cf48b52a705c36f4db98
treedf595ad9bd1be63bca5923955b2bb95a9f156c3f
parentfacab4d9711e7aa3532cb82643803e8f1b9518e8
ext4: cleanup handling of bh->b_state in DAX mmap

ext4_dax_mmap_get_block() updates bh->b_state directly instead of using
ext4_update_bh_state(). This is mostly a cosmetic issue since DAX code
always passes on-stack buffer_head but clean this up to make code more
uniform.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c