i2c: Factor out runtime suspend checks from PM operations
[firefly-linux-kernel-4.4.55.git] / fs / sysv / namei.c
index b5e68da2db32189597edc9e6f70dd6bcf57dbb40..b427b1208c26323eff8b734a84b6feb272332d4c 100644 (file)
@@ -48,7 +48,6 @@ static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, st
        struct inode * inode = NULL;
        ino_t ino;
 
-       d_set_d_op(dentry, dir->i_sb->s_root->d_op);
        if (dentry->d_name.len > SYSV_NAMELEN)
                return ERR_PTR(-ENAMETOOLONG);
        ino = sysv_inode_by_name(dentry);