Commit 28d7a37
ublk: add helper of __ublk_fetch()
Add helper __ublk_fetch() for refactoring ublk_fetch().
Meantime move ublk_config_io_buf() out of __ublk_fetch() to make
the code structure cleaner.
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 3443bab commit 28d7a37
1 file changed
Lines changed: 24 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2234 | 2234 | | |
2235 | 2235 | | |
2236 | 2236 | | |
2237 | | - | |
2238 | | - | |
| 2237 | + | |
| 2238 | + | |
2239 | 2239 | | |
2240 | | - | |
2241 | | - | |
2242 | | - | |
2243 | | - | |
2244 | | - | |
2245 | | - | |
2246 | | - | |
2247 | | - | |
2248 | 2240 | | |
2249 | | - | |
2250 | | - | |
2251 | | - | |
2252 | | - | |
| 2241 | + | |
| 2242 | + | |
2253 | 2243 | | |
2254 | 2244 | | |
2255 | | - | |
2256 | | - | |
2257 | | - | |
2258 | | - | |
| 2245 | + | |
| 2246 | + | |
2259 | 2247 | | |
2260 | 2248 | | |
2261 | 2249 | | |
2262 | 2250 | | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | 2251 | | |
2267 | 2252 | | |
2268 | 2253 | | |
2269 | | - | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2270 | 2272 | | |
2271 | 2273 | | |
2272 | 2274 | | |
| |||
0 commit comments