diff options
Diffstat (limited to 'fs/autofs4/inode.c')
-rw-r--r-- | fs/autofs4/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index 2fdcf5e1d236..94bfc154d7a2 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c | |||
@@ -47,7 +47,7 @@ struct autofs_info *autofs4_init_ino(struct autofs_info *ino, | |||
47 | ino->dentry = NULL; | 47 | ino->dentry = NULL; |
48 | ino->size = 0; | 48 | ino->size = 0; |
49 | 49 | ||
50 | INIT_LIST_HEAD(&ino->rehash); | 50 | INIT_LIST_HEAD(&ino->expiring); |
51 | 51 | ||
52 | ino->last_used = jiffies; | 52 | ino->last_used = jiffies; |
53 | atomic_set(&ino->count, 0); | 53 | atomic_set(&ino->count, 0); |
@@ -338,8 +338,8 @@ int autofs4_fill_super(struct super_block *s, void *data, int silent) | |||
338 | mutex_init(&sbi->wq_mutex); | 338 | mutex_init(&sbi->wq_mutex); |
339 | spin_lock_init(&sbi->fs_lock); | 339 | spin_lock_init(&sbi->fs_lock); |
340 | sbi->queues = NULL; | 340 | sbi->queues = NULL; |
341 | spin_lock_init(&sbi->rehash_lock); | 341 | spin_lock_init(&sbi->lookup_lock); |
342 | INIT_LIST_HEAD(&sbi->rehash_list); | 342 | INIT_LIST_HEAD(&sbi->expiring_list); |
343 | s->s_blocksize = 1024; | 343 | s->s_blocksize = 1024; |
344 | s->s_blocksize_bits = 10; | 344 | s->s_blocksize_bits = 10; |
345 | s->s_magic = AUTOFS_SUPER_MAGIC; | 345 | s->s_magic = AUTOFS_SUPER_MAGIC; |