nilfs2: remove calls to folio_set_error() and folio_clear_error()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 30 Apr 2024 05:09:01 +0000 (14:09 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 11 May 2024 22:51:43 +0000 (15:51 -0700)
commita7ac59f4f23660473e6350306f9b88f24fcc38f1
tree399ce884750fdc32d60def0342fdbdf7a4353f8e
parent8fcb916cac8985188a3f825966ffa99507a90cb1
nilfs2: remove calls to folio_set_error() and folio_clear_error()

Nobody checks this flag on nilfs2 folios, stop setting and clearing it.
That lets us simplify nilfs_end_folio_io() slightly.

Link: https://lkml.kernel.org/r/20240420025029.2166544-17-willy@infradead.org
Link: https://lkml.kernel.org/r/20240430050901.3239-1-konishi.ryusuke@gmail.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <song@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/dir.c
fs/nilfs2/segment.c