Commit f738038
committed
Add config flag to disable block count check on mount
When the block count check was added to `lfs_mount` in [#584][]
it was mentionned to have a mount flag to disable this check in the future.
Therefore, this PR:
- Adds a new `flags` field to lfs_config
- Defines a new `lfs_fs_flags` enum that contains these flags
- Defines one flag `LFS_CFG_DISABLE_BLOCK_COUNT_CHECK` that disables
the check inserted in [#584][]
[#584]: #5841 parent 8ed63b2 commit f738038
3 files changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4592 | 4592 | | |
4593 | 4593 | | |
4594 | 4594 | | |
4595 | | - | |
| 4595 | + | |
| 4596 | + | |
| 4597 | + | |
4596 | 4598 | | |
4597 | 4599 | | |
4598 | 4600 | | |
4599 | 4601 | | |
4600 | 4602 | | |
4601 | 4603 | | |
4602 | 4604 | | |
4603 | | - | |
| 4605 | + | |
| 4606 | + | |
| 4607 | + | |
| 4608 | + | |
| 4609 | + | |
4604 | 4610 | | |
4605 | 4611 | | |
4606 | 4612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
286 | 291 | | |
287 | 292 | | |
288 | 293 | | |
| |||
292 | 297 | | |
293 | 298 | | |
294 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
295 | 304 | | |
296 | 305 | | |
297 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
468 | 473 | | |
| 474 | + | |
469 | 475 | | |
470 | 476 | | |
471 | 477 | | |
| |||
0 commit comments