- if (cfs_atomic_read(link->hits) > 0) {
- cfs_atomic_dec(link->hits);
- LASSERT((__u32)cfs_atomic_read(link->hits) < (__u32)0xFFFFFF00);
+ if (atomic_read(link->hits) > 0) {
+ atomic_dec(link->hits);
+ LASSERT((__u32)atomic_read(link->hits) < (__u32)0xFFFFFF00);