Repository navigation
Commit 06cf91b
pstore: fix pstore filesystem mount/remount issue
Currently after mount/remount operation on pstore filesystem,
the content on pstore will be lost. It is because current ERST
implementation doesn't support multi-user usage, which moves
internal pointer to the end after accessing it. Adding
multi-user support for pstore usage.
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>1 parent 8d38d74 commit 06cf91b
3 files changed
Lines changed: 44 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
| 932 | + | |
| 933 | + | |
932 | 934 | | |
933 | 935 | | |
934 | 936 | | |
935 | 937 | | |
936 | 938 | | |
937 | 939 | | |
938 | 940 | | |
| 941 | + | |
| 942 | + | |
939 | 943 | | |
940 | 944 | | |
941 | 945 | | |
| |||
957 | 961 | | |
958 | 962 | | |
959 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
960 | 985 | | |
961 | 986 | | |
962 | 987 | | |
963 | 988 | | |
964 | | - | |
965 | | - | |
| 989 | + | |
966 | 990 | | |
967 | 991 | | |
968 | 992 | | |
969 | 993 | | |
970 | 994 | | |
971 | 995 | | |
972 | 996 | | |
973 | | - | |
974 | 997 | | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
980 | 1002 | | |
981 | 1003 | | |
982 | | - | |
983 | | - | |
| 1004 | + | |
| 1005 | + | |
984 | 1006 | | |
985 | 1007 | | |
986 | | - | |
| 1008 | + | |
987 | 1009 | | |
988 | 1010 | | |
989 | 1011 | | |
990 | | - | |
991 | 1012 | | |
992 | 1013 | | |
993 | 1014 | | |
| |||
1005 | 1026 | | |
1006 | 1027 | | |
1007 | 1028 | | |
1008 | | - | |
| 1029 | + | |
| 1030 | + | |
1009 | 1031 | | |
1010 | 1032 | | |
1011 | 1033 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| 174 | + | |
| 175 | + | |
170 | 176 | | |
171 | 177 | | |
172 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments