make get_file() return its argument
[linux-2.6-block.git] / fs / autofs4 / waitq.c
index da8876d38a7b7e3a50101f02817cbbbc460cec20..dce436e595c19275cc7f84c79596b41605ab5c59 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);