bcachefs: Refactor bch2_readdir() a bit
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 9 Oct 2019 13:23:30 +0000 (09:23 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:29 +0000 (17:08 -0400)
commit495fa1a2ec78a94bc1857531925b212edb670d2c
tree7f1f6201d5364a49ae4df73a617f610785626306
parent3826ee0b17557e85813378be5a5a695baf607c1c
bcachefs: Refactor bch2_readdir() a bit

The tweaks to ctx->pos handling are also to help the fuse port

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/dirent.c