LSM_HOOK(int, 0, sb_clone_mnt_opts, const struct super_block *oldsb,
         struct super_block *newsb, unsigned long kern_flags,
         unsigned long *set_kern_flags)
 -LSM_HOOK(int, 0, sb_add_mnt_opt, const char *option, const char *val,
 -       int len, void **mnt_opts)
  LSM_HOOK(int, 0, move_mount, const struct path *from_path,
         const struct path *to_path)
- LSM_HOOK(int, 0, dentry_init_security, struct dentry *dentry,
+ LSM_HOOK(int, -EOPNOTSUPP, dentry_init_security, struct dentry *dentry,
         int mode, const struct qstr *name, const char **xattr_name,
         void **ctx, u32 *ctxlen)
  LSM_HOOK(int, 0, dentry_create_files_as, struct dentry *dentry, int mode,