summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/journal.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-03-21 00:15:53 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:30 -0400
commit95752a02cb5d38bc97d76625de2607510ac94e69 (patch)
tree642b954fd1d059cf0911b743359aeacdf8f128d2 /fs/bcachefs/journal.h
parent822835ffeae411bbc8af104da9331fdf63a7bc12 (diff)
downloadlinux-95752a02cb5d38bc97d76625de2607510ac94e69.tar.gz
linux-95752a02cb5d38bc97d76625de2607510ac94e69.tar.bz2
linux-95752a02cb5d38bc97d76625de2607510ac94e69.zip
bcachefs: Refactor journal_keys_sort() to return an error code
When there weren't any keys in the journal there's no need to allocate the buffer - but doing that causes a spurious -ENOMEM. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/journal.h')
0 files changed, 0 insertions, 0 deletions