[Cluster-devel] [PATCH v2] fs: remove unnecessary conditional

David Sterba dsterba at suse.cz
Fri Apr 8 13:58:02 UTC 2022


On Fri, Apr 08, 2022 at 02:11:36AM +0000, cgel.zte at gmail.com wrote:
> From: Lv Ruyi <lv.ruyi at zte.com.cn>
> 
> 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.



More information about the Cluster-devel mailing list