]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove another test in ext4_alloc_file_blocks()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 3 Dec 2016 21:46:58 +0000 (16:46 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 3 Dec 2016 21:46:58 +0000 (16:46 -0500)
commit8c6ed05118888d7c11ff5f841f000af5367c107d
tree0174233d0af6f55b7b73f4d28f884f8954514ad8
parent7e4380b914130284eb5a66230bf5cd1b720be396
ext4: remove another test in ext4_alloc_file_blocks()

Before commit f9b3fa9f6d58 ('ext4: remove unneeded test in
ext4_alloc_file_blocks()') then it was possible for "depth" to be -1
but now, it's not possible that it is negative.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/extents.c