]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/ncpfs/dir.c
move d_rcu from overlapping d_child to overlapping d_alias
[mirror_ubuntu-zesty-kernel.git] / fs / ncpfs / dir.c
index 461f6be5df201ad8606bfd14eeaf3a6c606959ea..865d578704c88f2a70f48d19dc183e14204f23c1 100644 (file)
@@ -403,7 +403,7 @@ ncp_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos)
 
        /* If a pointer is invalid, we search the dentry. */
        spin_lock(&parent->d_lock);
-       list_for_each_entry(dent, &parent->d_subdirs, d_u.d_child) {
+       list_for_each_entry(dent, &parent->d_subdirs, d_child) {
                if ((unsigned long)dent->d_fsdata == fpos) {
                        if (dent->d_inode)
                                dget(dent);