Imo shiftfs and ovl should restore the original vm_file value on error. This is simple to do, and giving the pointer to the lower fs file back to the caller without a reference seems like a bad thing to do regardless. I'll produce some patches.
I'll also open a new bug for the SB_I_NOSUID conflict.
Jann: Thanks for the report!
The master branch of the aufs5-linux repo does not actually have any aufs code at all, you have to look at the other branches. E.g.:
https:/ /github. com/sfjro/ aufs5-linux/ blob/aufs5. 3/mm/mmap. c
Imo shiftfs and ovl should restore the original vm_file value on error. This is simple to do, and giving the pointer to the lower fs file back to the caller without a reference seems like a bad thing to do regardless. I'll produce some patches.
I'll also open a new bug for the SB_I_NOSUID conflict.