aboutsummaryrefslogtreecommitdiff
path: root/fs/sdcardfs/lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sdcardfs/lookup.c')
-rwxr-xr-xfs/sdcardfs/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sdcardfs/lookup.c b/fs/sdcardfs/lookup.c
index 87b47e34d80..9e860dcf571 100755
--- a/fs/sdcardfs/lookup.c
+++ b/fs/sdcardfs/lookup.c
@@ -246,7 +246,7 @@ static struct dentry *__sdcardfs_lookup(struct dentry *dentry,
struct dentry *match = NULL;
mutex_lock(&lower_dir_dentry->d_inode->i_mutex);
spin_lock(&lower_dir_dentry->d_lock);
- list_for_each_entry(child, &lower_dir_dentry->d_subdirs, d_u.d_child) {
+ list_for_each_entry(child, &lower_dir_dentry->d_subdirs, d_child) {
if (child && child->d_inode) {
if (qstr_case_eq(&child->d_name, name)) {
match = dget(child);