diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-09-21 08:58:38 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-21 08:59:26 -0700 |
commit | 7ed3cd1a69e3aedb29d4edf0b02624a1833a952d (patch) | |
tree | d73e48a09b6cdff2ef0428f9c665ae816e27e1d7 /fs/jfs/jfs_metapage.c | |
parent | 6cc19c5fad0908e4e5ed99c2236d740668985364 (diff) | |
download | linux-stable-7ed3cd1a69e3aedb29d4edf0b02624a1833a952d.tar.gz linux-stable-7ed3cd1a69e3aedb29d4edf0b02624a1833a952d.tar.bz2 linux-stable-7ed3cd1a69e3aedb29d4edf0b02624a1833a952d.zip |
iomap: Fix misplaced page flushing
If iomap_unshare_actor() unshares to an inline iomap, the page was
not being flushed. block_write_end() and __iomap_write_end() already
contain flushes, so adding it to iomap_write_end_inline() seems like
the best place. That means we can remove it from iomap_write_actor().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_metapage.c')
0 files changed, 0 insertions, 0 deletions