gfs2: Don't re-check for write past EOF unnecessarily
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 19 Apr 2022 18:51:50 +0000 (20:51 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 26 Apr 2022 13:38:00 +0000 (15:38 +0200)
commite57f9af73d6b0ffb5f1aeaf6cec9a751dd8535c9
treebbf7d0f2abaad2fa0f99e4378c503429674c480e
parentaf2d861d4cd2a4da5137f795ee3509e6f944a25b
gfs2: Don't re-check for write past EOF unnecessarily

Only re-check for direct I/O writes past the end of the file after
re-acquiring the inode glock.

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