[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241026153608.GJ1507976@kernel.org>
Date: Sat, 26 Oct 2024 16:36:08 +0100
From: Simon Horman <horms@...nel.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: Rasesh Mody <rmody@...vell.com>,
Sudarsana Kalluru <skalluru@...vell.com>,
GR-Linux-NIC-Dev@...vell.com, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/2] bna: Remove field bnad_dentry_files[] in struct
bnad
On Sat, Oct 26, 2024 at 11:48:00AM +0800, Zhen Lei wrote:
> Function debugfs_remove() recursively removes a directory, include all
> files created by debugfs_create_file(). Therefore, there is no need to
> explicitly record each file with member ->bnad_dentry_files[] and
> explicitly delete them at the end. Remove field bnad_dentry_files[] and
> its related processing codes for simplification.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists