]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/autofs/waitq.c
[PATCH] autofs4: panic after mount fail
[linux-2.6-omap-h63xx.git] / fs / autofs / waitq.c
index 633f628005b4a773b3e9326263b6892cdbce6b92..19a9cafb5ddf169ae44183171dfde5db3d243581 100644 (file)
@@ -41,6 +41,7 @@ void autofs_catatonic_mode(struct autofs_sb_info *sbi)
                wq = nwq;
        }
        fput(sbi->pipe);        /* Close the pipe */
+       sbi->pipe = NULL;
        autofs_hash_dputall(&sbi->dirhash); /* Remove all dentry pointers */
 }