ext4: remove unneeded test of ret variable
authorLukas Czerner <lczerner@redhat.com>
Tue, 1 Apr 2014 04:59:21 +0000 (00:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 1 Apr 2014 04:59:21 +0000 (00:59 -0400)
Currently in ext4_fallocate() and ext4_zero_range() we're testing ret
variable along with new_size. However in ext4_fallocate() we just tested
ret before and in ext4_zero_range() if will always be zero when we get
there so there is no need to test it in both cases.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c

Simple merge