sdcardfs: change d_u.d_child to d_child
authorNathan Chancellor <natechancellor@gmail.com>
Sat, 5 Nov 2016 09:42:21 +0000 (02:42 -0700)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:43 +0000 (18:03 +0200)
d_u.d_child was switched to just d_child in commit "move d_rcu from overlapping d_child to overlapping d_alias"

Change-Id: I18d6f2fcc0bb93092e82a50dc11193115298ba45
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
fs/sdcardfs/derived_perm.c

index 8a42e01d7e622c001a89d5b4139d88cb1748d386..64f188f84887b861d47b8aa3398e01150758c1d6 100644 (file)
@@ -292,7 +292,7 @@ static void __fixup_perms_recursive(struct dentry *dentry, struct limit_search *
        info = SDCARDFS_I(dentry->d_inode);
 
        if (needs_fixup(info->data->perm)) {
-               list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) {
+               list_for_each_entry(child, &dentry->d_subdirs, d_child) {
                        spin_lock_nested(&child->d_lock, depth + 1);
                        if (!(limit->flags & BY_NAME) || qstr_case_eq(&child->d_name, &limit->name)) {
                                if (child->d_inode) {
@@ -305,7 +305,7 @@ static void __fixup_perms_recursive(struct dentry *dentry, struct limit_search *
                        spin_unlock(&child->d_lock);
                }
        } else if (descendant_may_need_fixup(info->data, limit)) {
-               list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) {
+               list_for_each_entry(child, &dentry->d_subdirs, d_child) {
                        __fixup_perms_recursive(child, limit, depth + 1);
                }
        }