Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-4993 libcfs: convert nodemask_t to linux bitmask
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
libcfs_cpu.c
diff --git
a/libcfs/libcfs/libcfs_cpu.c
b/libcfs/libcfs/libcfs_cpu.c
index
1fa5d65
..
0934061
100644
(file)
--- a/
libcfs/libcfs/libcfs_cpu.c
+++ b/
libcfs/libcfs/libcfs_cpu.c
@@
-58,7
+58,7
@@
cfs_cpt_table_alloc(unsigned int ncpt)
LIBCFS_ALLOC(cptab, sizeof(*cptab));
if (cptab != NULL) {
cptab->ctb_version = CFS_CPU_VERSION_MAGIC;
LIBCFS_ALLOC(cptab, sizeof(*cptab));
if (cptab != NULL) {
cptab->ctb_version = CFS_CPU_VERSION_MAGIC;
-
set_bit(0, &
cptab->ctb_nodemask);
+
node_set(0,
cptab->ctb_nodemask);
cptab->ctb_nparts = ncpt;
}
cptab->ctb_nparts = ncpt;
}