Re: [Patch] include blktrace_api.h in headers_install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-09-26 at 21:34 +0200, Bastian Blank wrote:
> On Wed, Jul 16, 2008 at 01:24:25PM +0200, Martin Peschke wrote:
> > +#ifdef __KERNEL__
> > +	char name[BDEVNAME_SIZE];	/* output */
> > +#else
> > +	char name[32];			/* output */
> > +#endif
> 
> Bad idea. BDEVNAME_SIZE is not exported and therfor not part of the
> public API. As this defines a userspace API it must not change anyway.

So this should be simply  char name[32]  both for kernel and user space?

Martin

--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux