diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-10-19 15:08:00 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:14 -0400 |
commit | 9a796fdb06b56a1811f1afdd40b793e2848a990e (patch) | |
tree | 0aff8322804e52e2eb7f078bb0688a5d2fda4462 /fs/bcachefs/dirent.c | |
parent | d355c6f4f73060c8f3eba95b9ae72929669f7516 (diff) | |
download | linux-9a796fdb06b56a1811f1afdd40b793e2848a990e.tar.gz linux-9a796fdb06b56a1811f1afdd40b793e2848a990e.tar.bz2 linux-9a796fdb06b56a1811f1afdd40b793e2848a990e.zip |
bcachefs: bch2_trans_exit() no longer returns errors
Now that peek_node()/next_node() are converted to return errors
directly, we don't need bch2_trans_exit() to return errors - it's
cleaner this way and wasn't used much anymore.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/dirent.c')
-rw-r--r-- | fs/bcachefs/dirent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/dirent.c b/fs/bcachefs/dirent.c index cd5468b15ba2..26df20ad090c 100644 --- a/fs/bcachefs/dirent.c +++ b/fs/bcachefs/dirent.c @@ -491,7 +491,7 @@ err: if (ret == -EINTR) goto retry; - ret = bch2_trans_exit(&trans) ?: ret; + bch2_trans_exit(&trans); return ret; } |