bcachefs: Journal pin refactoring

This deletes some duplicated code.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2020-12-01 11:48:08 -05:00 • committed by Kent Overstreet
commit 231db03c57
2 changed files with 25 additions and 67 deletions