X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fautofs4%2Fwaitq.c;h=1e4a539f4417c3c94a38c844c6a419dea606d709;hb=79acbb3ff2d8095b692e1502b9eb2ccec348de26;hp=ce103e7b0bc360f684a2556c55ea9ed8be0e38f2;hpb=20a92fc74c5c91c7bc5693d51acc2b99aceb0465;p=linux-2.6 diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c index ce103e7b0b..1e4a539f44 100644 --- a/fs/autofs4/waitq.c +++ b/fs/autofs4/waitq.c @@ -41,11 +41,8 @@ void autofs4_catatonic_mode(struct autofs_sb_info *sbi) wake_up_interruptible(&wq->queue); wq = nwq; } - if (sbi->pipe) { - fput(sbi->pipe); /* Close the pipe */ - sbi->pipe = NULL; - } - shrink_dcache_sb(sbi->sb); + fput(sbi->pipe); /* Close the pipe */ + sbi->pipe = NULL; } static int autofs4_write(struct file *file, const void *addr, int bytes)