Commit db5b5e8
committed
ovl: use simpler function to convert iocb to rw flags
Overlayfs implements its own function to translate iocb flags into rw
flags, so that they can be passed into another vfs call.
With commit ce71bfe ("fs: align IOCB_* flags with RWF_* flags")
Jens created a 1:1 matching between the iocb flags and rw flags,
simplifying the conversion.
Signed-off-by: Alessio Balsini <balsini@android.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>1 parent 14ab6d4 commit db5b5e8
1 file changed
Lines changed: 11 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
267 | 270 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 271 | + | |
280 | 272 | | |
281 | 273 | | |
282 | 274 | | |
| |||
334 | 326 | | |
335 | 327 | | |
336 | 328 | | |
337 | | - | |
338 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
339 | 332 | | |
340 | 333 | | |
341 | 334 | | |
| |||
401 | 394 | | |
402 | 395 | | |
403 | 396 | | |
| 397 | + | |
| 398 | + | |
404 | 399 | | |
405 | | - | |
406 | | - | |
| 400 | + | |
407 | 401 | | |
408 | 402 | | |
409 | 403 | | |
| |||
0 commit comments