commit | dc480feb454a975b7ee2c18a2f98fb34e04d3baf | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Tue Oct 09 13:20:05 2018 +0200 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Tue Oct 09 18:20:13 2018 +0200 |
tree | 38537f9b8412bfb8cbb96686a8ce014e2679491b | |
parent | 0854ba5ff5c938307cd783e996b62c83f1ce923b [diff] |
gfs2: Fix iomap buffered write support for journaled files Commit 64bc06bb32ee broke buffered writes to journaled files (chattr +j): we'll try to journal the buffer heads of the page being written to in gfs2_iomap_journaled_page_done. However, the iomap code no longer creates buffer heads, so we'll BUG() in gfs2_page_add_databufs. Fix that by creating buffer heads ourself when needed. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>