make get_file() return its argument
[cascardo/linux.git] / fs / autofs4 / waitq.c
index da8876d..dce436e 100644 (file)
@@ -175,8 +175,7 @@ static void autofs4_notify_daemon(struct autofs_sb_info *sbi,
                return;
        }
 
-       pipe = sbi->pipe;
-       get_file(pipe);
+       pipe = get_file(sbi->pipe);
 
        mutex_unlock(&sbi->wq_mutex);