Re: [PATCH v2] fs: remove unnecessary conditional

From: David Sterba
Date: Fri Apr 08 2022 - 10:02:18 EST


On Fri, Apr 08, 2022 at 02:11:36AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> iput() has already handled null and non-null parameter, so it is no
> need to use if().
>
> This patch remove all unnecessary conditional in fs subsystem.
> No functional changes.

You'd need to split i by subsystem under fs/, each subdirectory has a
differnt maintainer. I can take only the btrfs part.