From: Andrew Morton Subject: Re: export bsg.h header to user-mode Date: Thu, 15 Jan 2009 16:48:24 -0800 Message-ID: <20090115164824.e637b8c6.akpm@linux-foundation.org> References: <496EFA69.3050007@panasas.com> <20090115202155G.fujita.tomonori@lab.ntt.co.jp> <496F26DF.9050303@panasas.com> <20090115212942R.fujita.tomonori@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:33918 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933450AbZAPAsx (ORCPT ); Thu, 15 Jan 2009 19:48:53 -0500 In-Reply-To: <20090115212942R.fujita.tomonori@lab.ntt.co.jp> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Cc: bharrosh@panasas.com, fujita.tomonori@lab.ntt.co.jp, jens.axboe@oracle.com, osd-dev@open-osd.org, linux-scsi@vger.kernel.org, dougg@torque.net, stable@kernel.org On Thu, 15 Jan 2009 21:29:56 +0900 FUJITA Tomonori wrote: > On Thu, 15 Jan 2009 14:06:55 +0200 > Boaz Harrosh wrote: > > > > Your patch does the right thing? > > > > > > > Yes I just checked, the Kernel build system strips out the #ifdef __KERNEL__ sections > > for the exported headers. (Do "make headers_check" you can see at usr/include/linux/) > > Thanks, I see. > > > > >> --- > > >> From: Boaz Harrosh > > >> Date: Thu, 15 Jan 2009 10:43:17 +0200 > > >> Subject: [PATCH] include/linux: Add bsg.h to the Kernel exported headers > > >> > > >> bsg.h in current form is perfectly suitable for user-mode > > >> consumption. It is needed together with scsi/sg.h for applications > > >> that want to interface with the bsg driver. > > >> > > >> Currently the few projects that use it would copy it over into > > >> the projects. But that is not acceptable for projects that need > > >> to provide a libxxx-devel package for distros. > > >> > > >> Signed-off-by: Boaz Harrosh > > > > TOMO Please ACK here so Jens can push it through his tree. > > You can add my ACK. > > > > Also I think we want to: > > CC: stable@kernel.org > > It's fine by me. > The patch looks OK to me. Please resend it with a complete changelog, not this great email mess. The changelog should clearly explain why the change is needed after the merge window and it should provide justification for backporting it into the -stable kernels. Please also indicate which -stable kernel versions you believe it should be ported into. "everything", I assume.