Fabian Frederick c3fe493ccd ext4: remove unneeded test in ext4_alloc_file_blocks()
ext4_alloc_file_blocks() is called from ext4_zero_range() and
ext4_fallocate() both already testing EXT4_INODE_EXTENTS
We can call ext_depth(inode) unconditionnally.

[ Added BUG_ON check to make sure ext4_alloc_file_blocks() won't get
  called for a indirect-mapped inode in the future.  -- tytso ]

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2016-09-15 11:52:07 -04:00
..
2016-03-31 00:30:15 -04:00
2015-04-02 23:47:42 -04:00
2016-09-05 23:11:58 -04:00
2016-09-05 23:21:43 -04:00
2015-04-02 23:47:42 -04:00
2016-09-05 23:11:58 -04:00
2016-05-13 00:44:16 -04:00
2016-09-05 23:11:58 -04:00
2016-03-09 23:49:05 -05:00
2016-09-05 23:38:36 -04:00
2016-05-29 19:08:00 -04:00
2016-07-31 23:38:36 -04:00