]> Pileus Git - ~andy/linux/blobdiff - fs/autofs4/waitq.c
[PATCH] atmel: use ARRAY_SIZE()
[~andy/linux] / fs / autofs4 / waitq.c
index ce103e7b0bc360f684a2556c55ea9ed8be0e38f2..1e4a539f4417c3c94a38c844c6a419dea606d709 100644 (file)
@@ -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)