Commit 33560f8
f2fs: remove bulk remove_proc_entry() and unnecessary kobject_del()
Convert to use remove_proc_subtree() and kill kobject_del() directly.
kobject_put() actually covers kobject removal automatically, which is
single stage removal.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 50aa6f4 commit 33560f8
1 file changed
Lines changed: 2 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1462 | 1462 | | |
1463 | 1463 | | |
1464 | 1464 | | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | | - | |
1474 | | - | |
| 1465 | + | |
| 1466 | + | |
1475 | 1467 | | |
1476 | | - | |
1477 | 1468 | | |
1478 | 1469 | | |
1479 | | - | |
1480 | 1470 | | |
1481 | 1471 | | |
1482 | 1472 | | |
1483 | | - | |
1484 | 1473 | | |
1485 | 1474 | | |
1486 | 1475 | | |
0 commit comments