X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fautofs%2Fwaitq.c;h=19a9cafb5ddf169ae44183171dfde5db3d243581;hb=cfee47f99bc14a6d7c6b0be2284db2cef310a815;hp=633f628005b4a773b3e9326263b6892cdbce6b92;hpb=89de09a9ba9ce293228b1f1aa3c68b5af33a70ce;p=~andy%2Flinux diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index 633f628005b..19a9cafb5dd 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c @@ -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 */ }