[stgt] [PATCH] MMC READ TOC, asking for track 0 is valid even if track 0 does not exist

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Jan 4 02:42:47 CET 2012


On Mon, 26 Dec 2011 09:48:10 +1100
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:

> READ TOC  track==xyz means : return all tracks starting at number xyz.
> In case of single session disks, the only track that exists is track 1
> in which case we still need to return the information for track 1
> regardless of whether the initiator asks for track 0 or track 1.
> 
> i.e.  READ TOC track==0 is still a valid command even if track 0 does not exist
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> ---
>  usr/mmc.c |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list