]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15dc01af203f2d18913611a2e45d3829098b3294
treedf595ad9bd1be63bca5923955b2bb95a9f156c3f
parent52252a0ec7ff61466403e717258e31a0d94a416a
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