X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fafs%2Fsuper.c;h=d6fa8e5999df9a71b0b4c17a0090cba087e3532b;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=bcf81d358df0bbc0b0635e2113472664513d75c1;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/fs/afs/super.c b/fs/afs/super.c index bcf81d358..d6fa8e599 100644 --- a/fs/afs/super.c +++ b/fs/afs/super.c @@ -78,9 +78,7 @@ int __init afs_fs_init(void) _enter(""); -#ifdef AFS_AUTOMOUNT_SUPPORT afs_timer_init(&afs_mntpt_expiry_timer, &afs_mntpt_expiry_timer_ops); -#endif /* create ourselves an inode cache */ atomic_set(&afs_count_active_inodes, 0); @@ -172,7 +170,7 @@ static int afs_super_parse_options(struct afs_mount_params *params, options[PAGE_SIZE - 1] = 0; ret = 0; - while ((key = strsep(&options, ","))) + while ((key = strsep(&options, ",")) != 0) { value = strchr(key, '='); if (value)