Commit 712ddc5
Ext2: remove the static function release_blocks to optimize the kernel
Because the static function 'release_blocks' is only called
when releasing blocks,it will be more simple and efficient to
call the function 'percpu_counter_add' directly.
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>1 parent 8e3dffc commit 712ddc5
1 file changed
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 162 | | |
172 | 163 | | |
173 | 164 | | |
| |||
569 | 560 | | |
570 | 561 | | |
571 | 562 | | |
572 | | - | |
| 563 | + | |
573 | 564 | | |
574 | 565 | | |
575 | 566 | | |
| |||
0 commit comments