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)
commite5b30416f3631bf4eed37c3bec9f789f9ae78446
tree3db5a4e171befe59982748f1e6edd2b1acc75bc5
parente04027e887c37b670e30a3f29fde8bfbeba56abc
ext4: remove unneeded test of ret variable

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