aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4/inode.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/inode.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/inode.c')
-rw-r--r--fs/autofs4/inode.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c
index 3801bed94e45..943888905493 100644
--- a/fs/autofs4/inode.c
+++ b/fs/autofs4/inode.c
@@ -178,9 +178,9 @@ static int autofs4_show_options(struct seq_file *m, struct vfsmount *mnt)
178 seq_printf(m, ",minproto=%d", sbi->min_proto); 178 seq_printf(m, ",minproto=%d", sbi->min_proto);
179 seq_printf(m, ",maxproto=%d", sbi->max_proto); 179 seq_printf(m, ",maxproto=%d", sbi->max_proto);
180 180
181 if (sbi->type & AUTOFS_TYP_OFFSET) 181 if (sbi->type & AUTOFS_TYPE_OFFSET)
182 seq_printf(m, ",offset"); 182 seq_printf(m, ",offset");
183 else if (sbi->type & AUTOFS_TYP_DIRECT) 183 else if (sbi->type & AUTOFS_TYPE_DIRECT)
184 seq_printf(m, ",direct"); 184 seq_printf(m, ",direct");
185 else 185 else
186 seq_printf(m, ",indirect"); 186 seq_printf(m, ",indirect");
@@ -267,13 +267,13 @@ static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid,
267 *maxproto = option; 267 *maxproto = option;
268 break; 268 break;
269 case Opt_indirect: 269 case Opt_indirect:
270 *type = AUTOFS_TYP_INDIRECT; 270 *type = AUTOFS_TYPE_INDIRECT;
271 break; 271 break;
272 case Opt_direct: 272 case Opt_direct:
273 *type = AUTOFS_TYP_DIRECT; 273 *type = AUTOFS_TYPE_DIRECT;
274 break; 274 break;
275 case Opt_offset: 275 case Opt_offset:
276 *type = AUTOFS_TYP_DIRECT | AUTOFS_TYP_OFFSET; 276 *type = AUTOFS_TYPE_DIRECT | AUTOFS_TYPE_OFFSET;
277 break; 277 break;
278 default: 278 default:
279 return 1; 279 return 1;
@@ -364,7 +364,7 @@ int autofs4_fill_super(struct super_block *s, void *data, int silent)
364 } 364 }
365 365
366 root_inode->i_fop = &autofs4_root_operations; 366 root_inode->i_fop = &autofs4_root_operations;
367 root_inode->i_op = sbi->type & AUTOFS_TYP_DIRECT ? 367 root_inode->i_op = sbi->type & AUTOFS_TYPE_DIRECT ?
368 &autofs4_direct_root_inode_operations : 368 &autofs4_direct_root_inode_operations :
369 &autofs4_indirect_root_inode_operations; 369 &autofs4_indirect_root_inode_operations;
370 370