ext4: remove unnecessary check for APPEND and IMMUTABLE
authorLukas Czerner <lczerner@redhat.com>
Sat, 12 Apr 2014 13:47:00 +0000 (09:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 Apr 2014 13:47:00 +0000 (09:47 -0400)
commit9ef06cec7c96f6bf59f1dd8b64b9645820099051
tree300b9868f29dce82cf42ef9b39874fe07d76783b
parent622cad1325e404598fe3b148c3fa640dbaabc235
ext4: remove unnecessary check for APPEND and IMMUTABLE

All the checks IS_APPEND and IS_IMMUTABLE for the fallocate operation on
the inode are done in vfs. No need to do this again in ext4. Remove it.

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