Re: bcachefs: Fix error path of bch2_link_trans()

From: Youling Tang
Date: Tue Apr 30 2024 - 05:30:44 EST


Hi, Kent

On 30/04/2024 17:18, Markus Elfring wrote:
In bch2_link_trans(), if bch2_inode_nlink_inc() fails, it needs to
call bch2_trans_iter_exit() in the error path.
Thanks - applied.
https://evilpiepirate.org/git/bcachefs.git/commit/?id=d04db1c7653dee5ee5f918ce951c05eefddad7eb

Would it have been nice to add the tag “Fixes” (besides an imperative wording) accordingly?
The following labels can be added:
Fixes: 962ad1a7666 ("bcachefs: Don't BUG_ON() inode link count underflow")

Thanks,
Youling.