X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fautofs%2Fwaitq.c;h=19a9cafb5ddf169ae44183171dfde5db3d243581;hb=3be11c8f4f2fa194834c2e83540f34da442b8977;hp=633f628005b4a773b3e9326263b6892cdbce6b92;hpb=254ce8dc882f8d69e5d49ed4807c94a61976fb15;p=linux-2.6 diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index 633f628005..19a9cafb5d 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 */ }