]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/coredump.c
Merge tag 'for-5.6/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[linux.git] / fs / coredump.c
index b1ea7dfbd1494bd8d990ae03ee1bc21277dbd636..f8296a82d01dfd70deb38ede24feab53331825bd 100644 (file)
@@ -517,7 +517,7 @@ static void wait_for_dump_helpers(struct file *file)
        pipe_lock(pipe);
        pipe->readers++;
        pipe->writers--;
-       wake_up_interruptible_sync(&pipe->wait);
+       wake_up_interruptible_sync(&pipe->rd_wait);
        kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN);
        pipe_unlock(pipe);
 
@@ -525,7 +525,7 @@ static void wait_for_dump_helpers(struct file *file)
         * We actually want wait_event_freezable() but then we need
         * to clear TIF_SIGPENDING and improve dump_interrupted().
         */
-       wait_event_interruptible(pipe->wait, pipe->readers == 1);
+       wait_event_interruptible(pipe->rd_wait, pipe->readers == 1);
 
        pipe_lock(pipe);
        pipe->readers--;