diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c index 9ef5b2914407c40327db81a5688850a808210991..da8876d38a7b7e3a50101f02817cbbbc460cec20 100644 --- a/fs/autofs4/waitq.c +++ b/fs/autofs4/waitq.c @@ -76,7 +76,7 @@ static int autofs4_write(struct autofs_sb_info *sbi, data += wr; bytes -= wr; } - mutex_lock(&sbi->pipe_mutex); + mutex_unlock(&sbi->pipe_mutex); set_fs(fs);