[PATCH 5.15 338/690] fanotify: cleanups for fanotify_mark() input validations