diff options
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 6b4cd3849306..73f701f1f4d3 100644 --- a/fs/nfs/pnfs_dev.c +++ b/fs/nfs/pnfs_dev.c | |||
@@ -43,6 +43,7 @@ | |||
43 | static struct hlist_head nfs4_deviceid_cache[NFS4_DEVICE_ID_HASH_SIZE]; | 43 | static struct hlist_head nfs4_deviceid_cache[NFS4_DEVICE_ID_HASH_SIZE]; |
44 | static DEFINE_SPINLOCK(nfs4_deviceid_lock); | 44 | static DEFINE_SPINLOCK(nfs4_deviceid_lock); |
45 | 45 | ||
46 | #ifdef NFS_DEBUG | ||
46 | void | 47 | void |
47 | nfs4_print_deviceid(const struct nfs4_deviceid *id) | 48 | nfs4_print_deviceid(const struct nfs4_deviceid *id) |
48 | { | 49 | { |
@@ -52,6 +53,7 @@ nfs4_print_deviceid(const struct nfs4_deviceid *id) | |||
52 | p[0], p[1], p[2], p[3]); | 53 | p[0], p[1], p[2], p[3]); |
53 | } | 54 | } |
54 | EXPORT_SYMBOL_GPL(nfs4_print_deviceid); | 55 | EXPORT_SYMBOL_GPL(nfs4_print_deviceid); |
56 | #endif | ||
55 | 57 | ||
56 | static inline u32 | 58 | static inline u32 |
57 | nfs4_deviceid_hash(const struct nfs4_deviceid *id) | 59 | nfs4_deviceid_hash(const struct nfs4_deviceid *id) |