]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: refactor code to read the extent tree block
authorTheodore Ts'o <tytso@mit.edu>
Sat, 17 Aug 2013 01:20:41 +0000 (21:20 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 17 Aug 2013 01:20:41 +0000 (21:20 -0400)
commit53d6008edd6fd0922f937b5719ed497af29538db
tree8c14a5c1f9e2a14d2de50e07ec97154fa811ac08
parentabb261d88449d118173c296608b492a496ec0d58
ext4: refactor code to read the extent tree block

Refactor out the code needed to read the extent tree block into a
single read_extent_tree_block() function.  In addition to simplifying
the code, it also makes sure that we call the ext4_ext_load_extent
tracepoint whenever we need to read an extent tree block from disk.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
fs/ext4/extents.c