X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fautofs%2Fwaitq.c;h=19a9cafb5ddf169ae44183171dfde5db3d243581;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=633f628005b4a773b3e9326263b6892cdbce6b92;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index 633f62800..19a9cafb5 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 */ }