Re: [Qemu-devel] [PATCH] get rid of private bitmap functions in block/sheepdog.c, use generic ones

2011-04-01 Thread Aurelien Jarno
On Thu, Mar 10, 2011 at 05:03:41PM +0300, Michael Tokarev wrote: qemu now has generic bitmap functions, so don't redefine them in sheepdog.c, use common header instead. A small cleanup. Here's only one function which is actually used in sheepdog and gets replaced with a generic one

Re: [Qemu-devel] [PATCH] get rid of private bitmap functions in block/sheepdog.c, use generic ones

2011-03-14 Thread MORITA Kazutaka
On Thu, Mar 10, 2011 at 11:03 PM, Michael Tokarev m...@tls.msk.ru wrote: qemu now has generic bitmap functions, so don't redefine them in sheepdog.c, use common header instead.  A small cleanup. Here's only one function which is actually used in sheepdog and gets replaced with a generic one

[Qemu-devel] [PATCH] get rid of private bitmap functions in block/sheepdog.c, use generic ones

2011-03-10 Thread Michael Tokarev
qemu now has generic bitmap functions, so don't redefine them in sheepdog.c, use common header instead. A small cleanup. Here's only one function which is actually used in sheepdog and gets replaced with a generic one (simplified): - static inline int test_bit(int nr, const volatile unsigned