Commit b2c7d55
btrfs: use KMEM_CACHE() to create delayed ref caches
Use the KMEM_CACHE() macro instead of kmem_cache_create() to simplify
the creation of SLAB caches related to delayed refs when the default
values are used.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 66ce544 commit b2c7d55
1 file changed
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
1310 | | - | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
| 1310 | + | |
| 1311 | + | |
1314 | 1312 | | |
1315 | 1313 | | |
1316 | 1314 | | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
| 1315 | + | |
| 1316 | + | |
1321 | 1317 | | |
1322 | 1318 | | |
1323 | 1319 | | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
| 1320 | + | |
| 1321 | + | |
1328 | 1322 | | |
1329 | 1323 | | |
1330 | 1324 | | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
| 1325 | + | |
| 1326 | + | |
1335 | 1327 | | |
1336 | 1328 | | |
1337 | 1329 | | |
| |||
0 commit comments