Merge commit 'linux-pnfs/nfs41-for-2.6.31' into nfsv41-for-2.6.31
[linux-2.6-block.git] / net / sunrpc / svc.c
index 6b90ce439c0081c8a191e05830f17d3669ae897a..952f206ff307a42b8a7bb20066dcf6ed5e3ab2c9 100644 (file)
@@ -125,7 +125,7 @@ svc_pool_map_choose_mode(void)
 {
        unsigned int node;
 
-       if (num_online_nodes() > 1) {
+       if (nr_online_nodes > 1) {
                /*
                 * Actually have multiple NUMA nodes,
                 * so split pools on NUMA node boundaries