Commit aead0b0
authored
Ensure the ino we give to readdir matches the ino we give to stat (#23139)
If we stat a file in the nodefs it gives a different value for the inode
than if we use readdir. Readdir gives the inode in the host file system,
stat gives the inode in the native file system. Ideally they should
agree about what the inode is.1 parent 021e174 commit aead0b0
File tree
4 files changed
+69
-14
lines changed- src
- test
- fs
4 files changed
+69
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | 745 | | |
756 | 746 | | |
757 | 747 | | |
758 | | - | |
759 | | - | |
| 748 | + | |
760 | 749 | | |
761 | 750 | | |
762 | 751 | | |
763 | 752 | | |
764 | 753 | | |
765 | | - | |
| 754 | + | |
766 | 755 | | |
767 | 756 | | |
768 | 757 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5859 | 5859 | | |
5860 | 5860 | | |
5861 | 5861 | | |
| 5862 | + | |
| 5863 | + | |
| 5864 | + | |
| 5865 | + | |
5862 | 5866 | | |
5863 | 5867 | | |
5864 | 5868 | | |
| |||
0 commit comments