From b74455569b550a98dc824fd4643e621bf2e9da14 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Mon, 1 Oct 2012 16:37:51 -0700 Subject: [PATCH] --- yaml --- r: 333196 b: refs/heads/master c: f9d640f3a4f043f7dff66ad7bd8cb29ec145c41d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfs/nfs4client.c | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/[refs] b/[refs] index fe0d5bc5b88a..a06f3615db8f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 758201e2c94b7d26ea0ac64e55cab1d53742780a +refs/heads/master: f9d640f3a4f043f7dff66ad7bd8cb29ec145c41d diff --git a/trunk/fs/nfs/nfs4client.c b/trunk/fs/nfs/nfs4client.c index 14ddd4d30966..8466e6046ff5 100644 --- a/trunk/fs/nfs/nfs4client.c +++ b/trunk/fs/nfs/nfs4client.c @@ -251,21 +251,6 @@ struct nfs_client *nfs4_init_client(struct nfs_client *clp, return ERR_PTR(error); } -/* - * Returns true if the client IDs match - */ -static bool nfs4_match_clientids(struct nfs_client *a, struct nfs_client *b) -{ - if (a->cl_clientid != b->cl_clientid) { - dprintk("NFS: --> %s client ID %llx does not match %llx\n", - __func__, a->cl_clientid, b->cl_clientid); - return false; - } - dprintk("NFS: --> %s client ID %llx matches %llx\n", - __func__, a->cl_clientid, b->cl_clientid); - return true; -} - /* * SETCLIENTID just did a callback update with the callback ident in * "drop," but server trunking discovery claims "drop" and "keep" are @@ -383,6 +368,21 @@ int nfs40_walk_client_list(struct nfs_client *new, } #ifdef CONFIG_NFS_V4_1 +/* + * Returns true if the client IDs match + */ +static bool nfs4_match_clientids(struct nfs_client *a, struct nfs_client *b) +{ + if (a->cl_clientid != b->cl_clientid) { + dprintk("NFS: --> %s client ID %llx does not match %llx\n", + __func__, a->cl_clientid, b->cl_clientid); + return false; + } + dprintk("NFS: --> %s client ID %llx matches %llx\n", + __func__, a->cl_clientid, b->cl_clientid); + return true; +} + /* * Returns true if the server owners match */