mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Damien Le Moal <damien.lemoal@opensource.wdc.com>
To: Yangtao Li <frank.li@vivo.com>,
	Naohiro Aota <naohiro.aota@wdc.com>,
	Johannes Thumshirn <jth@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2, RESEND 04/10] zonefs: convert to kobject_del_and_put()
Date: Mon, 20 Mar 2023 06:42:36 +0900	[thread overview]
Message-ID: <e98525c5-9420-63f8-a1f3-009601d02f2c@opensource.wdc.com> (raw)
In-Reply-To: <20230319092641.41917-4-frank.li@vivo.com>

On 3/19/23 18:26, Yangtao Li wrote:
> Use kobject_del_and_put() to simplify code.
> 
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
> Signed-off-by: Yangtao Li <frank.li@vivo.com>
> ---
>  fs/zonefs/sysfs.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/fs/zonefs/sysfs.c b/fs/zonefs/sysfs.c
> index 8ccb65c2b419..5e117188fbb5 100644
> --- a/fs/zonefs/sysfs.c
> +++ b/fs/zonefs/sysfs.c
> @@ -113,8 +113,7 @@ void zonefs_sysfs_unregister(struct super_block *sb)
>  	if (!sbi || !sbi->s_sysfs_registered)
>  		return;
>  
> -	kobject_del(&sbi->s_kobj);
> -	kobject_put(&sbi->s_kobj);
> +	kobject_del_and_put(&sbi->s_kobj);
>  	wait_for_completion(&sbi->s_kobj_unregister);

There is no function kobject_del_and_put() in rc3. I guess it is introduced by
this series but since you did not send everything, it is impossible to review.
Please always send the full patch series so that reviewers have all the context
that is needed to review/ack.

>  }
>  

-- 
Damien Le Moal
Western Digital Research


  reply	other threads:[~2023-03-19 21:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-19  9:26 [PATCH v2, RESEND 01/10] kobject: introduce kobject_del_and_put() Yangtao Li
2023-03-19  9:26 ` [PATCH v2, RESEND 02/10] f2fs: convert to kobject_del_and_put() Yangtao Li
2023-03-19  9:26 ` [PATCH v2, RESEND 03/10] erofs: " Yangtao Li
2023-03-19  9:26 ` [PATCH v2, RESEND 04/10] zonefs: " Yangtao Li
2023-03-19 21:42   ` Damien Le Moal [this message]
2023-03-19  9:26 ` [PATCH v2, RESEND 05/10] ubifs: " Yangtao Li
2023-03-20  2:55   ` Zhihao Cheng
2023-03-19  9:26 ` [PATCH v2, RESEND 06/10] btrfs: " Yangtao Li
2023-03-20 15:54   ` David Sterba
2023-03-19  9:26 ` [PATCH v2, RESEND 07/10] xfs: " Yangtao Li
2023-03-20 14:58   ` Darrick J. Wong
2023-03-19  9:26 ` [PATCH v2, RESEND 08/10] ocfs2: " Yangtao Li
2023-03-20  3:35   ` Joseph Qi
2023-03-19  9:26 ` [PATCH v2, RESEND 09/10] nfs: " Yangtao Li
2023-03-19  9:26 ` [PATCH v2, RESEND 10/10] nilfs2: " Yangtao Li

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=e98525c5-9420-63f8-a1f3-009601d02f2c@opensource.wdc.com \
    --to=damien.lemoal@opensource.wdc.com \
    --cc=frank.li@vivo.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jth@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=naohiro.aota@wdc.com \
    --cc=rafael@kernel.org \
    /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

all inboxes | Powered by JetHome®