Repository navigation
Commit 65ddf65
f2fs: fix to do sanity check for sb/cp fields correctly
This patch fixes below problems of sb/cp sanity check:
- in sanity_check_raw_superi(), it missed to consider log header
blocks while cp_payload check.
- in f2fs_sanity_check_ckpt(), it missed to check nat_bits_blocks.
Cc: <stable@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 4b10651 commit 65ddf65
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3264 | 3264 | | |
3265 | 3265 | | |
3266 | 3266 | | |
3267 | | - | |
3268 | | - | |
3269 | | - | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
3270 | 3271 | | |
3271 | | - | |
| 3272 | + | |
| 3273 | + | |
3272 | 3274 | | |
3273 | 3275 | | |
3274 | 3276 | | |
| |||
3304 | 3306 | | |
3305 | 3307 | | |
3306 | 3308 | | |
| 3309 | + | |
3307 | 3310 | | |
3308 | 3311 | | |
3309 | 3312 | | |
| |||
3434 | 3437 | | |
3435 | 3438 | | |
3436 | 3439 | | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
3437 | 3451 | | |
3438 | 3452 | | |
3439 | 3453 | | |
| |||
0 commit comments