ext3: Convert filesystem to the new truncate calling sequence
PATCH 1/1 ext3: Convert filesystem to the new truncate calling sequence
Signed-off-by Jan Kara <[email protected]>
--- fs/ext3/file.c | 2 +- fs/ext3/inode.c | 68 +++++++++++++++++++++++++++++++++--------------------- 2 files changed, 42 insertions(+), 28 deletions(-)
Nick, here is a minimalistic patch converting ext3 to the new truncate
sequence. It has survived some basic testing so feel free to add it to your patch series.
fs/ext3/file.c +1 -1
@@ -129,7 +129,7 @@ const struct file_operations ext3_file_operations = { };const struct inode_operations ext3_file_inode_operations = { - .truncate = ext3_truncate, + .new_truncate =1 , .setattr = ext3_setattr, #ifdef CONFIG_EXT3_FS_XATTR .setxattr = generic_setxattr,
fs/ext3/inode.c +41 -27
91 lines not on this page · raw message
Signature · 1 line
1.6.0.2