Merge tag 'gfs2-4.20.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2...
[muen/linux.git] / fs / gfs2 / bmap.c
index 5f3ea07ef5e232f8d061a2fd38b4b9d19cf3af2f..a683d9b27d76033a191b72f81528a7b255de4f08 100644 (file)
@@ -1057,7 +1057,7 @@ static int gfs2_iomap_begin_write(struct inode *inode, loff_t pos,
                }
        }
        release_metapath(&mp);
-       if (gfs2_is_jdata(ip))
+       if (!gfs2_is_stuffed(ip) && gfs2_is_jdata(ip))
                iomap->page_done = gfs2_iomap_journaled_page_done;
        return 0;