]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita849f38337232235f9b8b6c7a113d175c06523b7
tree33088a369217ec62afa9068233d33e0913c1b0ee
parentaaf77328a76cb04be83dfaf48bc4eb47bc04a753
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