]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
iomap: Clean up __generic_write_end calling
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Apr 2019 15:45:33 +0000 (08:45 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 1 May 2019 14:47:37 +0000 (07:47 -0700)
commitdbc582b6fb6ad6461085adfaae0106ae78721107
tree43428c2c952f715e233bb0f63a295f3e680d7708
parent73ce6abae5f95db071fa6626c88af64bd0d27c0f
iomap: Clean up __generic_write_end calling

Move the call to __generic_write_end into iomap_write_end instead of
duplicating it in each of the three branches.  This requires open coding
the generic_write_end for the buffer_head case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap.c