From: Simon Horman <horms@kernel.org>
To: Zhen Lei <thunder.leizhen@huawei.com>
Cc: Rasesh Mody <rmody@marvell.com>,
Sudarsana Kalluru <skalluru@marvell.com>,
GR-Linux-NIC-Dev@marvell.com, Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
netdev@vger.kernel.org
Subject: Re: [PATCH v2 2/2] bna: Remove field bnad_dentry_files[] in struct bnad
Date: Sat, 26 Oct 2024 16:36:08 +0100 [thread overview]
Message-ID: <20241026153608.GJ1507976@kernel.org> (raw)
In-Reply-To: <20241026034800.450-3-thunder.leizhen@huawei.com>
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@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
prev parent reply other threads:[~2024-10-26 15:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-26 3:47 [PATCH v2 0/2] bna: Remove error checking for debugfs create APIs Zhen Lei
2024-10-26 3:47 ` [PATCH v2 1/2] " Zhen Lei
2024-10-26 15:35 ` Simon Horman
2024-10-28 1:56 ` Leizhen (ThunderTown)
2024-10-26 3:48 ` [PATCH v2 2/2] bna: Remove field bnad_dentry_files[] in struct bnad Zhen Lei
2024-10-26 15:36 ` Simon Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241026153608.GJ1507976@kernel.org \
--to=horms@kernel.org \
--cc=GR-Linux-NIC-Dev@marvell.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rmody@marvell.com \
--cc=skalluru@marvell.com \
--cc=thunder.leizhen@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).