diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-27 02:19:16 +0300 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2015-01-15 13:44:58 +0300 |
commit | f185f12c4a26bf317e070697d3cf9ec17fc11864 (patch) | |
tree | e496ca9019595603709e82cc557d003668351e69 /fs/ceph/inode.c | |
parent | 55074679b401d834d999b8b71877065cfeaeef73 (diff) | |
download | linux-f185f12c4a26bf317e070697d3cf9ec17fc11864.tar.xz |
move d_rcu from overlapping d_child to overlapping d_alias
commit 946e51f2bf37f1656916eb75bd0742ba33983c28 upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[bwh: Backported to 3.16:
- Apply name changes in all the different places we use d_alias and d_child
- Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Moritz Muehlenhoff <jmm@inutil.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r-- | fs/ceph/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 04c89c266cec..c3e103ff18bd 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -1399,7 +1399,7 @@ retry_lookup: /* reorder parent's d_subdirs */ spin_lock(&parent->d_lock); spin_lock_nested(&dn->d_lock, DENTRY_D_LOCK_NESTED); - list_move(&dn->d_u.d_child, &parent->d_subdirs); + list_move(&dn->d_child, &parent->d_subdirs); spin_unlock(&dn->d_lock); spin_unlock(&parent->d_lock); } |