Commit 86b3d5f
orangefs: Remove calls to set/clear the error flag
Nobody checks the error flag on orangefs folios, so stop setting and
clearing it. We can also use folio_end_read() to simplify
orangefs_read_folio().
Cc: Martin Brandenburg <[email protected]>
Cc: [email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Mike Marshall <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>1 parent 8f3ab6e commit 86b3d5f
2 files changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
122 | | - | |
123 | 121 | | |
124 | 122 | | |
125 | 123 | | |
| |||
303 | 301 | | |
304 | 302 | | |
305 | 303 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
| 304 | + | |
310 | 305 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 306 | + | |
| 307 | + | |
315 | 308 | | |
316 | 309 | | |
317 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
| 277 | + | |
279 | 278 | | |
280 | | - | |
281 | 279 | | |
282 | 280 | | |
283 | 281 | | |
| |||
0 commit comments