# Re: \[PATCH v5 15/27\] nfs: get rid of -\>set\_security()

- From: James Morris \<jmorris@namei.org\>
- Date: 2019-11-21 05:52:50 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2019/11/167318
- Thread: https://ratatoskr.run/linux-nfs/2019/11/167238/t.md

```text
On Wed, 20 Nov 2019, Scott Mayhew wrote:

> From: Al Viro <viro@zeniv.linux.org.uk>
> 
> it's always either nfs_set_sb_security() or nfs_clone_sb_security(),
> the choice being controlled by mount_info->cloned != NULL.  No need
> to add methods, especially when both instances live right next to
> the caller and are never accessed anywhere else.
> 
> Reviewed-by: David Howells <dhowells@redhat.com>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Please ensure that any changes relating to the LSM API are cc'd to the 
linux-security-module list.


-- 
James Morris
[ref]

```
