diff --git a/fs/aufs/debug.c b/fs/aufs/debug.c index a26b5bd58cc477..7cedc88e11ba2d 100644 --- a/fs/aufs/debug.c +++ b/fs/aufs/debug.c @@ -156,7 +156,7 @@ void au_dpri_dalias(struct inode *inode) struct dentry *d; spin_lock(&inode->i_lock); - hlist_for_each_entry(d, &inode->i_dentry, d_alias) + hlist_for_each_entry(d, &inode->i_dentry, d_u.d_alias) au_dpri_dentry(d); spin_unlock(&inode->i_lock); } diff --git a/fs/aufs/hnotify.c b/fs/aufs/hnotify.c index 1bd7a9ac3256f7..927beb6749fb0c 100644 --- a/fs/aufs/hnotify.c +++ b/fs/aufs/hnotify.c @@ -198,7 +198,7 @@ static int hn_gen_by_inode(char *name, unsigned int nlen, struct inode *inode, AuDebugOn(!name); au_iigen_dec(inode); spin_lock(&inode->i_lock); - hlist_for_each_entry(d, &inode->i_dentry, d_alias) { + hlist_for_each_entry(d, &inode->i_dentry, d_u.d_alias) { spin_lock(&d->d_lock); dname = &d->d_name; if (dname->len != nlen