public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Jan Stancek <jstancek@redhat.com>
Cc: liwan@redhat.com, gulam.mohamed@oracle.com, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] lib: make tst_detach_device_by_fd() also close dev_fd
Date: Thu, 15 Aug 2024 09:29:35 +0200	[thread overview]
Message-ID: <20240815072935.GA565878@pevik> (raw)
In-Reply-To: <99d43982e2469b1423701b6772677173b5a53429.1723703723.git.jstancek@redhat.com>

Hi Jan,

thanks a lot for fixing this!

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Tested-by: Petr Vorel <pvorel@suse.cz>
Closes: https://github.com/linux-test-project/ltp/issues/1175

> Since commit 18048c1af783 ("loop: Fix a race between loop detach and loop open")
> detach operation is deferred to the last close of the device.

> Make tst_detach_device_by_fd() also close dev_fd, and leave it up to
> caller to re-open it for further use.

6.11.0-rc3-2.g00af0c0-default

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2024-08-15  7:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15  6:37 [LTP] [PATCH] lib: make tst_detach_device_by_fd() also close dev_fd Jan Stancek
2024-08-15  7:29 ` Petr Vorel [this message]
2024-08-19 13:11   ` Jan Stancek
2024-08-16  7:00 ` Li Wang

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=20240815072935.GA565878@pevik \
    --to=pvorel@suse.cz \
    --cc=gulam.mohamed@oracle.com \
    --cc=jstancek@redhat.com \
    --cc=liwan@redhat.com \
    --cc=ltp@lists.linux.it \
    /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