NFS: Only define some function when v4.1 is enabled
authorBryan Schumaker <bjschuma@netapp.com>
Mon, 12 Mar 2012 15:28:24 +0000 (11:28 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 12 Mar 2012 16:51:40 +0000 (12:51 -0400)
commit4b7c8dd205d6df1629ccde9f6dcf6a85d34c37ff
tree33088a369217ec62afa9068233d33e0913c1b0ee
parent09acfea5d8de419ebe84be43b08f7b79c965215f
NFS: Only define some function when v4.1 is enabled

Now that the nfs4_cb_match_client() function is static, gcc notices that
it is only used when CONFIG_NFS_V4_1 is enabled.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c