]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/autofs/waitq.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
[karo-tx-linux.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 */
 }