Whamcloud - gitweb
Branch HEAD
authoryangsheng <yangsheng>
Wed, 15 Apr 2009 10:35:49 +0000 (10:35 +0000)
committeryangsheng <yangsheng>
Wed, 15 Apr 2009 10:35:49 +0000 (10:35 +0000)
b=18033

Fix the typo.

lustre/include/lprocfs_status.h

index ea1abe2..abac33c 100644 (file)
@@ -357,7 +357,7 @@ static inline int lprocfs_stats_lock(struct lprocfs_stats *stats, int type)
                 if (type & LPROCFS_GET_NUM_CPU)
                         rc = num_possible_cpus();
                 if (type & LPROCFS_GET_SMP_ID) {
-                       stats->ls_flags &= LPROCFS_STATS_GET_SMP_ID;
+                       stats->ls_flags |= LPROCFS_STATS_GET_SMP_ID;
                         rc = cfs_get_cpu();
                }
         }