Commit cb9e527
null_blk: Have all null_handle_xxx() return a blk_status_t
Modify the null_handle_flush() and null_handle_rq() functions to return
a blk_status_t instead of an errno to simplify the call sites of these
functions and to be consistant with other null_handle_xxx() functions.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20240411085502.728558-2-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 99a9476 commit cb9e527
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
1170 | | - | |
| 1170 | + | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
| |||
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | | - | |
| 1187 | + | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
| |||
1222 | 1222 | | |
1223 | 1223 | | |
1224 | 1224 | | |
1225 | | - | |
| 1225 | + | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | 1228 | | |
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
| 1237 | + | |
| 1238 | + | |
1241 | 1239 | | |
1242 | 1240 | | |
1243 | 1241 | | |
1244 | 1242 | | |
1245 | | - | |
| 1243 | + | |
1246 | 1244 | | |
1247 | 1245 | | |
1248 | 1246 | | |
| |||
1289 | 1287 | | |
1290 | 1288 | | |
1291 | 1289 | | |
1292 | | - | |
1293 | 1290 | | |
| 1291 | + | |
1294 | 1292 | | |
1295 | 1293 | | |
1296 | 1294 | | |
| |||
1359 | 1357 | | |
1360 | 1358 | | |
1361 | 1359 | | |
1362 | | - | |
| 1360 | + | |
1363 | 1361 | | |
1364 | 1362 | | |
1365 | 1363 | | |
| |||
0 commit comments