slavaim / redirfs

A Linux file system filter based on redirfs
33 stars 25 forks source link

hook atomic_open when it exist in old inode ops #4

Closed jkralik closed 6 years ago

jkralik commented 6 years ago

kernels check i_op->atomic_open pointer and use it when it exist. RFS_SET_IOP_MGT -> RFS_ADD_OP_MGT set without check of existence operation.

Issue: creating file gets error ENOSYS when fs (xfs, brtfs, ..) doesn't support atomic_open