diff options
author | Fabian Frederick <fabf@skynet.be> | 2016-09-15 11:52:07 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-09-15 11:52:07 -0400 |
commit | c3fe493ccdb1f443c30155150391835004014c6a (patch) | |
tree | 2e8c0dc7f294a7810abf0e8b27d0765573d774c9 /net | |
parent | edf15aa180d7b98fe16bd3eda42f9dd0e60dee20 (diff) |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions