]> 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)
commitf206b7837416fd87044219d7f26bcc7202f4d5bf
tree2ccc66c6e23b895a2b89468b5110789ece92ec3e
parent9b63037691af5462452bcc8f8abf520461293e56
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