Commit c29440f
xfs: share more code in xfs_buffered_write_iomap_begin
Introduce a local iomap_flags variable so that the code allocating new
delalloc blocks in the data fork can fall through to the found_imap
label and reuse the code to unlock and fill the iomap.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>1 parent 8fe3b21 commit c29440f
1 file changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
| 978 | + | |
978 | 979 | | |
979 | 980 | | |
980 | 981 | | |
| |||
1145 | 1146 | | |
1146 | 1147 | | |
1147 | 1148 | | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
1148 | 1154 | | |
1149 | 1155 | | |
1150 | 1156 | | |
| |||
1162 | 1168 | | |
1163 | 1169 | | |
1164 | 1170 | | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
1170 | | - | |
1171 | 1171 | | |
1172 | | - | |
1173 | | - | |
1174 | 1172 | | |
1175 | | - | |
| 1173 | + | |
1176 | 1174 | | |
1177 | | - | |
| 1175 | + | |
1178 | 1176 | | |
1179 | 1177 | | |
1180 | 1178 | | |
| |||
0 commit comments