aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4/waitq.c
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2006-03-27 04:14:56 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:41 -0500
commit44d53eb041d901620b1090590a549a705767fd10 (patch)
tree765f8e737a9e067d65fefaa2f88a25e6855c17d0 /fs/autofs4/waitq.c
parent5c0a32fc2cd0be912511199449a37a4a6f0f582d (diff)
[PATCH] autofs4: change AUTOFS_TYP_* AUTOFS_TYPE_*
Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/autofs4/waitq.c')
-rw-r--r--fs/autofs4/waitq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c
index 12da2c977b0a..894d74671bd0 100644
--- a/fs/autofs4/waitq.c
+++ b/fs/autofs4/waitq.c
@@ -207,7 +207,7 @@ int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry,
207 return -ENOMEM; 207 return -ENOMEM;
208 208
209 /* If this is a direct mount request create a dummy name */ 209 /* If this is a direct mount request create a dummy name */
210 if (IS_ROOT(dentry) && (sbi->type & AUTOFS_TYP_DIRECT)) 210 if (IS_ROOT(dentry) && (sbi->type & AUTOFS_TYPE_DIRECT))
211 len = sprintf(name, "%p", dentry); 211 len = sprintf(name, "%p", dentry);
212 else { 212 else {
213 len = autofs4_getpath(sbi, dentry, &name); 213 len = autofs4_getpath(sbi, dentry, &name);
@@ -283,11 +283,11 @@ int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry,
283 type = autofs_ptype_expire_multi; 283 type = autofs_ptype_expire_multi;
284 } else { 284 } else {
285 if (notify == NFY_MOUNT) 285 if (notify == NFY_MOUNT)
286 type = (sbi->type & AUTOFS_TYP_DIRECT) ? 286 type = (sbi->type & AUTOFS_TYPE_DIRECT) ?
287 autofs_ptype_missing_direct : 287 autofs_ptype_missing_direct :
288 autofs_ptype_missing_indirect; 288 autofs_ptype_missing_indirect;
289 else 289 else
290 type = (sbi->type & AUTOFS_TYP_DIRECT) ? 290 type = (sbi->type & AUTOFS_TYPE_DIRECT) ?
291 autofs_ptype_expire_direct : 291 autofs_ptype_expire_direct :
292 autofs_ptype_expire_indirect; 292 autofs_ptype_expire_indirect;
293 } 293 }