X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fext4%2Ffile.c;h=1a81cd66d63b2b2371e4c35025f004657ca66adf;hb=b377611d11aba5251264b487dd4485ddb80260f1;hp=3bbc24b587858b97f6ebb0b492b65091158b77c2;hpb=706b75ddbe36d20d071424f9867385c319b67f8d;p=linux-2.6 diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 3bbc24b587..1a81cd66d6 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -120,12 +120,11 @@ const struct file_operations ext4_file_operations = { .open = generic_file_open, .release = ext4_release_file, .fsync = ext4_sync_file, - .sendfile = generic_file_sendfile, .splice_read = generic_file_splice_read, .splice_write = generic_file_splice_write, }; -struct inode_operations ext4_file_inode_operations = { +const struct inode_operations ext4_file_inode_operations = { .truncate = ext4_truncate, .setattr = ext4_setattr, #ifdef CONFIG_EXT4DEV_FS_XATTR @@ -135,5 +134,6 @@ struct inode_operations ext4_file_inode_operations = { .removexattr = generic_removexattr, #endif .permission = ext4_permission, + .fallocate = ext4_fallocate, };