]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: move trans handling and completion deferal out of _ext4_get_block
authorJan Kara <jack@suse.cz>
Wed, 9 Mar 2016 04:35:46 +0000 (23:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 9 Mar 2016 04:35:46 +0000 (23:35 -0500)
commitf9fd0fb8514057c82f49ab82d5aadd4b6a0721e8
tree78ee63623f23e6b9afbdac6b72467503c0dd3b73
parent0c217b57667da3f1067c2e106b6624c2316f9c10
ext4: move trans handling and completion deferal out of _ext4_get_block

There is no need to handle starting of a transaction and deferal of DIO
completion in _ext4_get_block() function. We can move this out to get
block functions for direct IO that need it. That way we can add stricter
checks verifying things work as we expect.

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