sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
[linux-2.6-microblaze.git] / fs / ocfs2 / file.c
index 93565c0..ed1ffa7 100644 (file)
@@ -1640,7 +1640,7 @@ static ssize_t __ocfs2_file_splice_write(struct pipe_inode_info *pipe,
                .total_len = len,
                .flags = flags,
                .pos = *ppos,
-               .file = out,
+               .u.file = out,
        };
 
        ret = __splice_from_pipe(pipe, &sd, ocfs2_splice_write_actor);
@@ -1822,7 +1822,6 @@ const struct inode_operations ocfs2_special_file_iops = {
 const struct file_operations ocfs2_fops = {
        .read           = do_sync_read,
        .write          = do_sync_write,
-       .sendfile       = generic_file_sendfile,
        .mmap           = ocfs2_mmap,
        .fsync          = ocfs2_sync_file,
        .release        = ocfs2_file_release,