diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-21 00:15:53 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:30 -0400 |
commit | 95752a02cb5d38bc97d76625de2607510ac94e69 (patch) | |
tree | 642b954fd1d059cf0911b743359aeacdf8f128d2 /fs/bcachefs/bcachefs.h | |
parent | 822835ffeae411bbc8af104da9331fdf63a7bc12 (diff) | |
download | lwn-95752a02cb5d38bc97d76625de2607510ac94e69.tar.gz lwn-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/bcachefs.h')
0 files changed, 0 insertions, 0 deletions