]> git.baikalelectronics.ru Git - kernel.git/commit
When CONFIG_NFS_V4_1 is not enabled, "make C=2" emits this warning:
authorChuck Lever <chuck.lever@oracle.com>
Wed, 4 Sep 2013 16:26:03 +0000 (12:26 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 4 Sep 2013 16:26:30 +0000 (12:26 -0400)
commit8d580b6a4db1bf97efa60b7b58f33245c348fd75
treefb2c26c48d401a89b7e2e05fe3efa4af0789bfbb
parent842a24411098579a45e3013e78e7d77aa5491914
When CONFIG_NFS_V4_1 is not enabled, "make C=2" emits this warning:

linux/fs/nfs/nfs4session.c:337:6: warning:
 symbol 'nfs41_set_target_slotid' was not declared. Should it be static?

Move nfs41_set_target_slotid() and nfs41_update_target_slotid() back
behind CONFIG_NFS_V4_1, since, in the final revision of this work,
they are used only in NFSv4.1 and later.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4session.c
fs/nfs/nfs4session.h