X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fsysv%2Ffile.c;h=589be21d884e362d17433f4e55999d73b537203a;hb=6450f65168bcf3c03b5fb44c2fe96682c0d3086b;hp=47a4b728f15b49bfdf84d7b30d17568e08a13b1c;hpb=12e36b2f41b6cbc67386fcb9c59c32a3e2033905;p=linux-2.6 diff --git a/fs/sysv/file.c b/fs/sysv/file.c index 47a4b728f1..589be21d88 100644 --- a/fs/sysv/file.c +++ b/fs/sysv/file.c @@ -27,10 +27,10 @@ const struct file_operations sysv_file_operations = { .aio_write = generic_file_aio_write, .mmap = generic_file_mmap, .fsync = sysv_sync_file, - .sendfile = generic_file_sendfile, + .splice_read = generic_file_splice_read, }; -struct inode_operations sysv_file_inode_operations = { +const struct inode_operations sysv_file_inode_operations = { .truncate = sysv_truncate, .getattr = sysv_getattr, };