diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-04-20 03:50:01 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-08 17:29:20 -0400 |
commit | e4f2c4dfeeaeb70164967aa4abfa1190f7e61781 (patch) | |
tree | eb5b130a2e54c8a5261c8d1ffe7972df7438f2a9 /fs/bcachefs/sysfs.c | |
parent | 103304021e54bfb5cab9ba04cd5ef0dc2bf33888 (diff) |
bcachefs: Remove calls to folio_set_error
Common code doesn't test the error flag, so we don't need to set it in
bcachefs. We can use folio_end_read() to combine the setting (or not)
of the uptodate flag and clearing the lock flag.
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Brian Foster <bfoster@redhat.com>
Cc: linux-bcachefs@vger.kernel.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sysfs.c')
0 files changed, 0 insertions, 0 deletions