Linux-SCSI Archive on
 help / color / Atom feed
From: "Martin K. Petersen" <>
To: Bart Van Assche <>
Cc: "Martin K . Petersen" <>,
	"James E . J . Bottomley" <>,, Christoph Hellwig <>,
	Rob Turk <>, Hannes Reinecke <>,
Subject: Re: [PATCH] ch: Make it again possible to open a ch device two or more times
Date: Wed, 09 Oct 2019 23:40:32 -0400
Message-ID: <> (raw)
In-Reply-To: <> (Bart Van Assche's message of "Wed, 9 Oct 2019 10:35:36 -0700")


> Clearing ch->device in ch_release() is wrong because that pointer must
> remain valid until ch_remove() is called. This patch fixes the
> following crash the second time a ch device is opened:

Applied to 5.4/scsi-fixes, thank you!

Martin K. Petersen	Oracle Linux Engineering

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 17:35 Bart Van Assche
2019-10-10  3:40 ` Martin K. Petersen [this message]

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-SCSI Archive on

Archives are clonable:
	git clone --mirror linux-scsi/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-scsi linux-scsi/ \
	public-inbox-index linux-scsi

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone