]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - fs/hfsplus/dir.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/hfsplus
[~shefty/rdma-dev.git] / fs / hfsplus / dir.c
index f611d55c9f5e73f54e27fb2044d9dbe2cdeddc5c..f896dc843026a278317116c86bd7fa2c75f6cd25 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);