On 30/05/18 14:01, Jan Kara wrote:
Thanks. The patch looks good. I've added it to my tree. BTW, do you plan on working on a similar addition to fanotify? Honza
Ah that's grand, I'm glad to have helped to improve things.I'm not familiar with fanotify, however a quick look at fanotify_user.c suggests that a similar approach may be taken by modifying:
if(!fsn_mark) { ... } else if (create) { return -EEXIST; } in both fanotify_add_vfsmount_mark() and fanotify_add_inode_mark() Regards, Henry.