Zheng Liu d7b2a00c2e ext4: isolate ext4_extents.h file
After applied the commit (4a092d73), we have reduced the number of
source files that need to #include ext4_extents.h.  But we can do
better.

This commit defines ext4_zeroout_es() in extents.c and move
EXT_MAX_BLOCKS into ext4.h in order not to include ext4_extents.h in
indirect.c and ioctl.c.  Meanwhile we just need to include this file in
extent_status.c when ES_AGGRESSIVE_TEST is defined.  Otherwise, this
commit removes a duplicated declaration in trace/events/ext4.h.

After applied this patch, we just need to include ext4_extents.h file
in {super,migrate,move_extents,extents}.c, and it is easy for us to
define a new extent disk layout.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-08-28 14:47:06 -04:00
..
2013-05-28 13:42:08 -05:00
2012-04-23 13:15:35 +01:00
2013-03-23 16:11:31 -07:00
2013-06-14 11:30:00 -04:00
2013-08-28 14:47:06 -04:00
2013-04-29 15:54:28 -07:00
2012-12-18 15:02:12 -08:00
2013-04-22 12:32:43 +02:00
2013-06-23 11:52:58 +02:00
2012-02-06 10:37:53 -05:00