# Re: \[PATCH\] security,selinux: remove security\_add\_mnt\_opt()

- From: Paul Moore \<paul@paul-moore.com\>
- Date: 2021-12-06 18:49:08 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2021/12/16283268
- Thread: https://ratatoskr.run/linux-security-module/2021/12/16283266/t.md

```text
On Mon, Dec 6, 2021 at 8:24 AM Ondrej Mosnacek [ref] wrote:
>
> Its last user has been removed in commit f2aedb713c28 ("NFS: Add
> fs_context support.").
>
> Signed-off-by: Ondrej Mosnacek <redacted>
> ---
>  include/linux/lsm_hook_defs.h |  2 --
>  include/linux/lsm_hooks.h     |  2 --
>  include/linux/security.h      |  8 -------
>  security/security.c           |  8 -------
>  security/selinux/hooks.c      | 39 -----------------------------------
>  5 files changed, 59 deletions(-)

Good catch.  As this really only affects SELinux, I've merged this
into the selinux/next tree.

-- 
paul moore
www.paul-moore.com
```
