[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130719211929.GB29404@logfs.org>
Date: Fri, 19 Jul 2013 17:19:29 -0400
From: Jörn Engel <joern@...fs.org>
To: Vaughan Cao <vaughan.cao@...cle.com>
Cc: dgilbert@...erlog.com, JBottomley@...allels.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock
On Wed, 17 July 2013 23:34:04 +0800, Vaughan Cao wrote:
> Date: Wed, 17 Jul 2013 23:34:04 +0800
> From: Vaughan Cao <vaughan.cao@...cle.com>
> To: joern@...fs.org
> Cc: dgilbert@...erlog.com, JBottomley@...allels.com,
> linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
> vaughan.cao@...cle.com
> Subject: [PATCH v4 2/4] [SCSI] sg: no need sg_open_exclusive_lock
> X-Mailer: git-send-email 1.7.11.7
>
> Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock.
> @exclude is used to record which type of rwsem we are holding.
>
> Signed-off-by: Vaughan Cao <vaughan.cao@...cle.com>
Reviewed-by: Joern Engel <joern@...fs.org>
Jörn
--
"Error protection by error detection and correction."
-- from a university class
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists