summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2014-04-01 06:59:21 +0200
committerTheodore Ts'o <tytso@mit.edu>2014-04-01 06:59:21 +0200
commite5b30416f3631bf4eed37c3bec9f789f9ae78446 (patch)
tree3db5a4e171befe59982748f1e6edd2b1acc75bc5 /fs/ext4/inode.c
parentext4: fix comment typo (diff)
downloadlinux-e5b30416f3631bf4eed37c3bec9f789f9ae78446.tar.xz
linux-e5b30416f3631bf4eed37c3bec9f789f9ae78446.zip
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>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions