Repository navigation
Commit dbc582b
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>1 parent 73ce6ab commit dbc582b
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
740 | 738 | | |
741 | 739 | | |
742 | 740 | | |
| |||
753 | 751 | | |
754 | 752 | | |
755 | 753 | | |
756 | | - | |
757 | 754 | | |
758 | 755 | | |
759 | 756 | | |
| |||
766 | 763 | | |
767 | 764 | | |
768 | 765 | | |
769 | | - | |
770 | | - | |
| 766 | + | |
| 767 | + | |
771 | 768 | | |
772 | 769 | | |
773 | 770 | | |
774 | 771 | | |
| 772 | + | |
775 | 773 | | |
776 | 774 | | |
777 | 775 | | |
| |||
0 commit comments