OSDN Git Service

nfs: get rid of ->set_security()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Dec 2019 12:31:03 +0000 (07:31 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:15:16 +0000 (10:15 -0500)
commitadf2314fe667565258f304a04990d334defabeaf
treec7be73c518fb337964a029c67b4a6b49dca8cfa9
parentba8b6148067f51528dedf65b533d5094e25e6205
nfs: get rid of ->set_security()

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>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/internal.h
fs/nfs/namespace.c
fs/nfs/nfs4super.c
fs/nfs/super.c