]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d74cb6ceaa20025d9fcaddcef3f227fddb7181e
treec7be73c518fb337964a029c67b4a6b49dca8cfa9
parentdd4a87ae99679c1009c856cbe050034016f6795b
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