]> 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)
commit6dac3b1519b20dd23cc520a260632d2e8de9ec79
treec7be73c518fb337964a029c67b4a6b49dca8cfa9
parent90ca9a8c058a3454d34678126ac4989244a7e3e3
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