Skip to content
Commit db5b5e83 authored by Amir Goldstein's avatar Amir Goldstein
Browse files

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 ce71bfea

 ("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: default avatarAlessio Balsini <balsini@android.com>
Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
parent 14ab6d42
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment