Commit 9390ee3
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 16ceb67 commit 9390ee3
3 files changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4596 | 4596 | | |
4597 | 4597 | | |
4598 | 4598 | | |
4599 | | - | |
| 4599 | + | |
| 4600 | + | |
| 4601 | + | |
4600 | 4602 | | |
4601 | 4603 | | |
4602 | 4604 | | |
4603 | 4605 | | |
4604 | 4606 | | |
4605 | 4607 | | |
4606 | 4608 | | |
4607 | | - | |
| 4609 | + | |
| 4610 | + | |
| 4611 | + | |
| 4612 | + | |
| 4613 | + | |
4608 | 4614 | | |
4609 | 4615 | | |
4610 | 4616 | | |
| |||
| 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