X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fautofs4%2Fautofs_i.h;h=385bed09b0d84005674acc1bba64ad816ced5e6c;hb=ea9b395fe20ac74be788f415af2622ac8f0c35c7;hp=9c09641ce907284242ac477223810a9edfb24ee3;hpb=aef7b83c92dd0b7e994805440655d1d64147287b;p=powerpc.git diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 9c09641ce9..385bed09b0 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h @@ -92,6 +92,7 @@ struct autofs_wait_queue { struct autofs_sb_info { u32 magic; + struct dentry *root; struct file *pipe; pid_t oz_pgrp; int catatonic; @@ -208,7 +209,7 @@ static inline int simple_empty_nolock(struct dentry *dentry) struct dentry *child; int ret = 0; - list_for_each_entry(child, &dentry->d_subdirs, d_child) + list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) if (simple_positive(child)) goto out; ret = 1;