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)
commit011c88e36c26a08590b2ebe214ac854289f85f26
tree0174233d0af6f55b7b73f4d28f884f8954514ad8
parent9e645ab72e6f73873a00d042d0ecc9c148d5a6b6
ext4: remove another test in ext4_alloc_file_blocks()

Before commit c3fe493ccdb1 ('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