diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-20 14:12:46 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 09:31:44 -0400 |
commit | 6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc (patch) | |
tree | 14c33fa0d8dfe765175c3972d1fd746ef766c150 /fs/nfs/pnfs_dev.c | |
parent | ffa94db6042e6fd014ae0bed8832ac707ef2afe9 (diff) | |
download | op-kernel-dev-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.zip op-kernel-dev-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.tar.gz |
NFS: Fix more NFS debug related build warnings
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs_dev.c')
-rw-r--r-- | fs/nfs/pnfs_dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/pnfs_dev.c b/fs/nfs/pnfs_dev.c index 6b4cd38..73f701f 100644 --- a/fs/nfs/pnfs_dev.c +++ b/fs/nfs/pnfs_dev.c @@ -43,6 +43,7 @@ static struct hlist_head nfs4_deviceid_cache[NFS4_DEVICE_ID_HASH_SIZE]; static DEFINE_SPINLOCK(nfs4_deviceid_lock); +#ifdef NFS_DEBUG void nfs4_print_deviceid(const struct nfs4_deviceid *id) { @@ -52,6 +53,7 @@ nfs4_print_deviceid(const struct nfs4_deviceid *id) p[0], p[1], p[2], p[3]); } EXPORT_SYMBOL_GPL(nfs4_print_deviceid); +#endif static inline u32 nfs4_deviceid_hash(const struct nfs4_deviceid *id) |