X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fautofs4%2Fautofs_i.h;h=8f7cdde4173358575b292088c7f085d71ba66232;hb=b581af5110ab62db3a33f86ea7531d5f898a520c;hp=b7ff33c63101545c17410c220a2e6c0f5ab51994;hpb=049da6393fb30b62e418beb59a74dfcad513fc6d;p=karo-tx-linux.git diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index b7ff33c63101..8f7cdde41733 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h @@ -223,12 +223,12 @@ int autofs4_wait(struct autofs_sb_info *,struct dentry *, enum autofs_notify); int autofs4_wait_release(struct autofs_sb_info *,autofs_wqt_t,int); void autofs4_catatonic_mode(struct autofs_sb_info *); -static inline int autofs4_follow_mount(struct vfsmount **mnt, struct dentry **dentry) +static inline int autofs4_follow_mount(struct path *path) { int res = 0; - while (d_mountpoint(*dentry)) { - int followed = follow_down(mnt, dentry); + while (d_mountpoint(path->dentry)) { + int followed = follow_down(path); if (!followed) break; res = 1;