]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/hpfs/file.c
Merge branch 'splice-2.6.23' of git://git.kernel.dk/data/git/linux-2.6-block
[karo-tx-linux.git] / fs / hpfs / file.c
index 8b94d24855f00b7ece487dc2b1cd5b5a741af0db..5b53e5c5d8dfb4cbdd4808efa6fa945a4ec4a51f 100644 (file)
@@ -115,7 +115,7 @@ static ssize_t hpfs_file_write(struct file *file, const char __user *buf,
 
        retval = do_sync_write(file, buf, count, ppos);
        if (retval > 0)
-               hpfs_i(file->f_dentry->d_inode)->i_dirty = 1;
+               hpfs_i(file->f_path.dentry->d_inode)->i_dirty = 1;
        return retval;
 }
 
@@ -129,10 +129,10 @@ const struct file_operations hpfs_file_ops =
        .mmap           = generic_file_mmap,
        .release        = hpfs_file_release,
        .fsync          = hpfs_file_fsync,
-       .sendfile       = generic_file_sendfile,
+       .splice_read    = generic_file_splice_read,
 };
 
-struct inode_operations hpfs_file_iops =
+const struct inode_operations hpfs_file_iops =
 {
        .truncate       = hpfs_truncate,
        .setattr        = hpfs_notify_change,