autofs4: double lock typo in autofs4_write()
Subsystems (2)
PATCH 1/1 autofs4: double lock typo in autofs4_write()
The second mutex_lock() should be an unlock.
Signed-off-by Dan Carpenter <[email protected]>
fs/autofs4/waitq.c +1 -1
@@ -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);
Hi, this is already reported:
https://lkml.org/lkml/2012/1/13/104
and tested by Dave.