mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
nfs_common: rename functions that invalidate LOCALIO nfs_clients
Rename nfs_uuid_invalidate_one_client to nfs_localio_disable_client. Rename nfs_uuid_invalidate_clients to nfs_localio_invalidate_clients. Signed-off-by: Mike Snitzer <snitzer@kernel.org> Reviewed-by: NeilBrown <neilb@suse.de> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
This commit is contained in:
committed by
Anna Schumaker
parent
a61466315d
commit
b49f049a22
@@ -107,7 +107,7 @@ static void nfs_uuid_put_locked(nfs_uuid_t *nfs_uuid)
|
||||
list_del_init(&nfs_uuid->list);
|
||||
}
|
||||
|
||||
void nfs_uuid_invalidate_clients(struct list_head *list)
|
||||
void nfs_localio_invalidate_clients(struct list_head *list)
|
||||
{
|
||||
nfs_uuid_t *nfs_uuid, *tmp;
|
||||
|
||||
@@ -116,9 +116,9 @@ void nfs_uuid_invalidate_clients(struct list_head *list)
|
||||
nfs_uuid_put_locked(nfs_uuid);
|
||||
spin_unlock(&nfs_uuid_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(nfs_uuid_invalidate_clients);
|
||||
EXPORT_SYMBOL_GPL(nfs_localio_invalidate_clients);
|
||||
|
||||
void nfs_uuid_invalidate_one_client(nfs_uuid_t *nfs_uuid)
|
||||
void nfs_localio_disable_client(nfs_uuid_t *nfs_uuid)
|
||||
{
|
||||
if (nfs_uuid->net) {
|
||||
spin_lock(&nfs_uuid_lock);
|
||||
@@ -126,7 +126,7 @@ void nfs_uuid_invalidate_one_client(nfs_uuid_t *nfs_uuid)
|
||||
spin_unlock(&nfs_uuid_lock);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(nfs_uuid_invalidate_one_client);
|
||||
EXPORT_SYMBOL_GPL(nfs_localio_disable_client);
|
||||
|
||||
struct nfsd_file *nfs_open_local_fh(nfs_uuid_t *uuid,
|
||||
struct rpc_clnt *rpc_clnt, const struct cred *cred,
|
||||
|
||||
Reference in New Issue
Block a user