X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=fs%2Fhfsplus%2Finode.c;h=6f7c662174dbb5f3ffc3e832088b5efe79f67312;hb=644b55ce889edd37d6406df26e2d96d7a7390749;hp=45dab5d6cc10a25f7e37a80d847566f6c4001a66;hpb=ec4883b015c3212f6f6d04fb2ff45f528492f598;p=cascardo%2Flinux.git diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 45dab5d6cc10..6f7c662174db 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c @@ -131,6 +131,11 @@ const struct address_space_operations hfsplus_aops = { .writepages = hfsplus_writepages, }; +struct dentry_operations hfsplus_dentry_operations = { + .d_hash = hfsplus_hash_dentry, + .d_compare = hfsplus_compare_dentry, +}; + static struct dentry *hfsplus_file_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) { @@ -288,7 +293,7 @@ static const struct file_operations hfsplus_file_operations = { .write = do_sync_write, .aio_write = generic_file_aio_write, .mmap = generic_file_mmap, - .sendfile = generic_file_sendfile, + .splice_read = generic_file_splice_read, .fsync = file_fsync, .open = hfsplus_file_open, .release = hfsplus_file_release,