Commit c31e496
f2fs: fix compile warning in f2fs_destroy_node_manager()
fs/f2fs/node.c: In function ‘f2fs_destroy_node_manager’:
fs/f2fs/node.c:3390:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
3390 | }
Merging below pointer arrays into common one, and reuse it by cast type.
struct nat_entry *natvec[NATVEC_SIZE];
struct nat_entry_set *setvec[SETVEC_SIZE];
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 0135c48 commit c31e496
2 files changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3062 | 3062 | | |
3063 | 3063 | | |
3064 | 3064 | | |
3065 | | - | |
| 3065 | + | |
3066 | 3066 | | |
3067 | 3067 | | |
3068 | 3068 | | |
| |||
3095 | 3095 | | |
3096 | 3096 | | |
3097 | 3097 | | |
3098 | | - | |
| 3098 | + | |
3099 | 3099 | | |
3100 | 3100 | | |
3101 | 3101 | | |
| |||
3316 | 3316 | | |
3317 | 3317 | | |
3318 | 3318 | | |
3319 | | - | |
3320 | | - | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
3321 | 3322 | | |
3322 | 3323 | | |
3323 | 3324 | | |
| |||
3340 | 3341 | | |
3341 | 3342 | | |
3342 | 3343 | | |
3343 | | - | |
| 3344 | + | |
3344 | 3345 | | |
3345 | 3346 | | |
3346 | 3347 | | |
| |||
3356 | 3357 | | |
3357 | 3358 | | |
3358 | 3359 | | |
| 3360 | + | |
3359 | 3361 | | |
3360 | | - | |
| 3362 | + | |
3361 | 3363 | | |
3362 | 3364 | | |
3363 | 3365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
0 commit comments