]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/hfsplus/dir.c
fs: dcache reduce branches in lookup path
[mv-sheeva.git] / fs / hfsplus / dir.c
index 9d59c0571f5982f27e3d36d12ea6fae81f3b02c2..ccab87145f7aa4f9beeda9008142fcd31496c7ed 100644 (file)
@@ -37,7 +37,7 @@ static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry,
 
        sb = dir->i_sb;
 
-       dentry->d_op = &hfsplus_dentry_operations;
+       d_set_d_op(dentry, &hfsplus_dentry_operations);
        dentry->d_fsdata = NULL;
        hfs_find_init(HFSPLUS_SB(sb)->cat_tree, &fd);
        hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, &dentry->d_name);