diff options
| -rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3762,7 +3762,7 @@ static int any_slab_objects(struct kmem_cache *s) | |||
| 3762 | if (!n) | 3762 | if (!n) |
| 3763 | continue; | 3763 | continue; |
| 3764 | 3764 | ||
| 3765 | if (atomic_read(&n->total_objects)) | 3765 | if (atomic_long_read(&n->total_objects)) |
| 3766 | return 1; | 3766 | return 1; |
| 3767 | } | 3767 | } |
| 3768 | return 0; | 3768 | return 0; |
