Commit 6640052
committed
Do not count log pages in stat i_blocks
A NOVA inode uses two kinds of NVMM pages: log pages and data pages.
On a remount, NOVA rebuilds the inode and count log pages as stat i_blocks.
The stat system call does not declare clearly what i_blocks should include.
Just count data pages for i_blocks for consistency.1 parent 593f927 commit 6640052
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
| 688 | + | |
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
| 847 | + | |
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| |||
0 commit comments