Removed fsinfo.disk_version

With rcompat/wcompat flags, on-disk minor version bumps will hopefully
not be needed for a long time (ever?). And if the on-disk version never
changes, why was a word to report it every lfsr_fs_stat call?

But this may be something to listen to user feedback on. Worst case we
can always readd fsinfo.disk_version if users find it useful.

Code changes:

           code          stack
  before: 33922           2592
  after:  33918 (-0.0%)   2592 (+0.0%)
This commit is contained in:
Christopher Haster
2024-06-12 12:25:01 -05:00
parent 687641533c
commit 2425b0f89b
4 changed files with 0 additions and 66 deletions
-3
View File
@@ -325,9 +325,6 @@ struct lfs_info {
// Filesystem info structure
struct lfs_fsinfo {
// On-disk version
uint32_t disk_version;
// TODO should we add rcompat/wcompat flags here?
// Size of a logical block in bytes.