]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/autofs4/waitq.c
[PATCH] autofs4: change AUTOFS_TYP_* AUTOFS_TYPE_*
[linux-2.6-omap-h63xx.git] / fs / autofs4 / waitq.c
index 12da2c977b0a55be8b75ad496137a58740e32970..894d74671bd0ed8b571d70e43c1680f479b391d9 100644 (file)
@@ -207,7 +207,7 @@ int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry,
                return -ENOMEM;
 
        /* If this is a direct mount request create a dummy name */
-       if (IS_ROOT(dentry) && (sbi->type & AUTOFS_TYP_DIRECT))
+       if (IS_ROOT(dentry) && (sbi->type & AUTOFS_TYPE_DIRECT))
                len = sprintf(name, "%p", dentry);
        else {
                len = autofs4_getpath(sbi, dentry, &name);
@@ -283,11 +283,11 @@ int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry,
                                type = autofs_ptype_expire_multi;
                } else {
                        if (notify == NFY_MOUNT)
-                               type = (sbi->type & AUTOFS_TYP_DIRECT) ?
+                               type = (sbi->type & AUTOFS_TYPE_DIRECT) ?
                                        autofs_ptype_missing_direct :
                                         autofs_ptype_missing_indirect;
                        else
-                               type = (sbi->type & AUTOFS_TYP_DIRECT) ?
+                               type = (sbi->type & AUTOFS_TYPE_DIRECT) ?
                                        autofs_ptype_expire_direct :
                                        autofs_ptype_expire_indirect;
                }