]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
forgot to refresh queue-5.4/fget-check-that-the-fd-still-exists-after-getting-a-ref...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Dec 2021 11:46:29 +0000 (12:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Dec 2021 11:46:29 +0000 (12:46 +0100)
queue-5.4/fget-check-that-the-fd-still-exists-after-getting-a-ref-to-it.patch

index d3c3b79c1ff815979fbf3670ea3efdcb49971284..a847c0ce9eee3c25aa80b1739eda2538c1c74e08 100644 (file)
@@ -54,7 +54,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                        file = NULL;
                else if (!get_file_rcu_many(file, refs))
                        goto loop;
-+              else if (files_lookup_fd_raw(files, fd) != file) {
++              else if (__fcheck_files(files, fd) != file) {
 +                      fput_many(file, refs);
 +                      goto loop;
 +              }