]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62d6878a7d3e37b896c763a222dfa0b870220202
tree300b9868f29dce82cf42ef9b39874fe07d76783b
parent08d0535a54c2aa130b826f61eda893d9819e0793
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