X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=fs%2Fhfsplus%2Finode.c;h=6f7c662174dbb5f3ffc3e832088b5efe79f67312;hb=644b55ce889edd37d6406df26e2d96d7a7390749;hp=642012ac337013e06acbb74334ce20b3b9915c2f;hpb=cbe56159a3e60624b5f44cf48b640fa470436e34;p=cascardo%2Flinux.git diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 642012ac3370..6f7c662174db 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "hfsplus_fs.h" #include "hfsplus_raw.h" @@ -130,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) { @@ -287,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,