Re: [PATCH v5 15/27] nfs: get rid of ->set_security()

From: James Morris
Date: Thu Nov 21 2019 - 00:52:49 EST


On Wed, 20 Nov 2019, Scott Mayhew wrote:

> From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

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


--
James Morris
<jmorris@xxxxxxxxx>