diff options
author | 2011-05-25 17:39:48 -0400 | |
---|---|---|
committer | 2011-05-25 17:39:48 -0400 | |
commit | ae24f28d39610a4810c78185cf599a771cf6ee1f (patch) | |
tree | a4969875b6345f6ee3eb8bdf3a0af823cab33e3f /fs/jbd2/commit.c | |
parent | ext4: do not normalize block requests from fallocate() (diff) | |
download | wireguard-linux-ae24f28d39610a4810c78185cf599a771cf6ee1f.tar.xz wireguard-linux-ae24f28d39610a4810c78185cf599a771cf6ee1f.zip |
ext4: Convert ext4 to new truncate calling convention
Trivial conversion. Fixup one error handling case calling vmtruncate()
and remove ->truncate callback. We also fix a bug that IS_IMMUTABLE and
IS_APPEND files could not be truncated during failed writes. In fact, the
test can be completely removed as upper layers do necessary permission
checks for truncate in do_sys_[f]truncate() and may_open() anyway.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions