]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a8b7edf68a5cf0647ee37127176038b986bdae4
treebbf7d0f2abaad2fa0f99e4378c503429674c480e
parentb9f8d2f498fe4c118f5c77a2789962e442c78a90
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