]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gfs2: Clean up the error handling in gfs2_page_mkwrite
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 13 May 2021 12:30:31 +0000 (14:30 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 2 Jun 2021 06:23:21 +0000 (08:23 +0200)
commit3c43d7022dc29db8bf62206d7bf13e47dd2ca295
treebfd71a3da7bd157a204199658cb3a57844fc61be
parentd5b8145455c629e7f157d2da46a9b2fba483f235
gfs2: Clean up the error handling in gfs2_page_mkwrite

We're setting an error number so that block_page_mkwrite_return
translates it into the corresponding VM_FAULT_* code in several places,
but this is getting confusing, so set the VM_FAULT_* codes directly
instead.  (No change in functionality.)

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