Thread (4 messages) flat view 4 messages, 4 authors, 2007-09-19

Re: CONFIG_BLK_DEV_BSG=n

From: Jens Axboe <hidden>
Date: 2007-09-19 12:52:45
Also in: linux-scsi

On Mon, Sep 17 2007, David Howells wrote:
James Bottomley [off-list ref] wrote:
quoted
quoted
Which solution would you be more comfortable with?
The one which is currently in -mm is this one:

http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=49892223f7d3a2333ef9e6cbdd526676e1fc517a
In my opinion, this is the wrong fix.  There shouldn't be anything in
the kernel using stuff from bsg.h if CONFIG_BLOCK=n, so there should
be an error if anything tries to.  The correct fix is to exclude the
non-userspace-visible contents of bsg.h with #ifdef CONFIG_BLOCK, not
to declare things that we've tried to make sure specifically aren't
declared.
I agree, I'll pass your fix on.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help