Commit d15b00b
jffs2: Remove calls to set/clear the folio error flag
Nobody checks the error flag on jffs2 folios, so stop setting and
clearing it. We can also remove the call to clear the uptodate
flag; it will already be clear.
Convert one of these into a call to mapping_set_error() which will
actually be checked by other parts of the kernel.
Cc: David Woodhouse <[email protected]>
Cc: [email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Zhihao Cheng <[email protected]>
Acked-by: Richard Weinberger <[email protected]>
Reviewed-by: Zhihao Cheng <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>1 parent e3ec0fe commit d15b00b
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 98 | + | |
102 | 99 | | |
103 | | - | |
104 | | - | |
105 | 100 | | |
106 | 101 | | |
107 | 102 | | |
| |||
304 | 299 | | |
305 | 300 | | |
306 | 301 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
| 302 | + | |
| 303 | + | |
311 | 304 | | |
312 | 305 | | |
313 | 306 | | |
| |||
330 | 323 | | |
331 | 324 | | |
332 | 325 | | |
333 | | - | |
334 | 326 | | |
335 | 327 | | |
336 | 328 | | |
| |||
0 commit comments