X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fqnx4%2Ffile.c;h=867f42b02035dd6621f681a6730d90c2a3a3c4ae;hb=6924d1ab8b7bbe5ab416713f5701b3316b2df85b;hp=467e5ac7280e739eb65a3ee63267ef5e46fbef20;hpb=946b92437e550d6ed80213bf54a1f383e141aede;p=linux-2.6 diff --git a/fs/qnx4/file.c b/fs/qnx4/file.c index 467e5ac728..867f42b020 100644 --- a/fs/qnx4/file.c +++ b/fs/qnx4/file.c @@ -25,7 +25,7 @@ const struct file_operations qnx4_file_operations = .read = do_sync_read, .aio_read = generic_file_aio_read, .mmap = generic_file_mmap, - .sendfile = generic_file_sendfile, + .splice_read = generic_file_splice_read, #ifdef CONFIG_QNX4FS_RW .write = do_sync_write, .aio_write = generic_file_aio_write, @@ -33,7 +33,7 @@ const struct file_operations qnx4_file_operations = #endif }; -struct inode_operations qnx4_file_inode_operations = +const struct inode_operations qnx4_file_inode_operations = { #ifdef CONFIG_QNX4FS_RW .truncate = qnx4_truncate,