linux_dvd_rw_utils.c incompatible with current kernel includes

Danny Kukawka danny.kukawka at web.de
Tue Aug 28 02:52:06 PDT 2007


On Donnerstag, 9. August 2007, Frederic Crozat wrote:
> Le samedi 14 juillet 2007 à 22:33 +0400, Andrey Borzenkov a écrit :
> > rebuilding with linux includes from 2.6.21:
>
> <snip>
>
> > while fixing sg_ui.sbp is relatively easy (just add cast), what
> > SG_FLAG_LUN_INHIBIT is supposed to do and what should be used instead?
>
> I've attached an improved patch (inspired from k3b).

Tested with 2.6.22 and 2.6.18. Commited:

commit 72510af187df46dfc2cc268d51ca2d47f4bb3b89
Author: Frederic Crozat <fcrozat at mandriva.com>
Date:   Tue Aug 28 11:10:17 2007 +0200

    handle renaming of SG_FLAG_LUN_INHIBIT in sg.h

    > while fixing sg_ui.sbp is relatively easy (just add cast), what
    > SG_FLAG_LUN_INHIBIT is supposed to do and what should be used instead?

    I've attached an improved patch (inspired from k3b).


More information about the hal mailing list