Commit b6f80a2
NFS: Fix open coded versions of nfs_set_cache_invalid() in NFSv4
nfs_set_cache_invalid() has code to handle delegations, and other
optimisations, so let's use it when appropriate.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>1 parent ac46b3d commit b6f80a2
3 files changed
Lines changed: 20 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
363 | 364 | | |
364 | 365 | | |
365 | | - | |
366 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
1172 | | - | |
| 1172 | + | |
1173 | 1173 | | |
1174 | 1174 | | |
1175 | 1175 | | |
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
| 1179 | + | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
| 1190 | + | |
1193 | 1191 | | |
1194 | 1192 | | |
1195 | 1193 | | |
1196 | 1194 | | |
1197 | 1195 | | |
1198 | 1196 | | |
1199 | | - | |
| 1197 | + | |
1200 | 1198 | | |
1201 | 1199 | | |
1202 | 1200 | | |
1203 | 1201 | | |
1204 | | - | |
| 1202 | + | |
1205 | 1203 | | |
1206 | 1204 | | |
1207 | 1205 | | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1211 | 1209 | | |
1212 | 1210 | | |
1213 | 1211 | | |
1214 | 1212 | | |
| 1213 | + | |
1215 | 1214 | | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | 1215 | | |
1220 | 1216 | | |
1221 | 1217 | | |
| |||
5915 | 5911 | | |
5916 | 5912 | | |
5917 | 5913 | | |
5918 | | - | |
5919 | | - | |
5920 | | - | |
| 5914 | + | |
| 5915 | + | |
| 5916 | + | |
5921 | 5917 | | |
5922 | 5918 | | |
5923 | 5919 | | |
| |||
0 commit comments