]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hfsplus/inode.c
HFS+: add custom dentry hash and comparison operations
[linux-2.6-omap-h63xx.git] / fs / hfsplus / inode.c
index 409ce5429c91ccb8b53d5a9fff6ef0118546722d..6f7c662174dbb5f3ffc3e832088b5efe79f67312 100644 (file)
@@ -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)
 {