]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Pull return value test out of should_fault_in_pages
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 5 May 2022 10:53:26 +0000 (12:53 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 13 May 2022 20:00:22 +0000 (22:00 +0200)
commit2f830dcd04e2adf171fcdd55f934f9f5f72170dc
tree2ccc66c6e23b895a2b89468b5110789ece92ec3e
parenteb38b0b766bbde3b80578d6f4db78d5b1d2c5ee9
gfs2: Pull return value test out of should_fault_in_pages

Pull the return value test of the previous read or write operation out
of should_fault_in_pages().  In a following patch, we'll fault in pages
before the I/O and there will be no return value to check.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/file.c