diff options
Diffstat (limited to 'fs/autofs4/autofs_i.h')
| -rw-r--r-- | fs/autofs4/autofs_i.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 385bed09b0d..f54c5b21f87 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h @@ -13,6 +13,7 @@  /* Internal header file for autofs */  #include <linux/auto_fs4.h> +#include <linux/mutex.h>  #include <linux/list.h>  /* This is the range of ioctl() numbers we claim as ours */ @@ -102,7 +103,7 @@ struct autofs_sb_info {  	int reghost_enabled;  	int needs_reghost;  	struct super_block *sb; -	struct semaphore wq_sem; +	struct mutex wq_mutex;  	spinlock_t fs_lock;  	struct autofs_wait_queue *queues; /* Wait queue pointer */  }; | 
