xen-devel
Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable
On Mon, Mar 21, 2011 at 11:03 AM, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
Ian Campbell writes ("[Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2"):
> tools: blktap2: copy xenstore/hashtable.h into blktap2
>
> hashtable.c has already been copied, forked and modified, there
> doesn't seem much point in avoiding the same for the header until
> someone feels motivated to properly refactor.
Before we make this any worse, perhaps we should at least leave a
comment in every copy of hashtable.c referring to every other clone ?
Ian.
copying hashtable.h alone wont suffice. hashtable_itr.h in blktap2/drivers includes hashtable_private.h in xenstore/
And a diff -wu blktap2/drivers/hashtable.c xenstore/hashtable.c shows no functional difference between the two versions. How about pulling the hashtable.h, hashtable.c, hashtable_private.h from xenstore/
and hashtable_itr.[h,c], hashtable_utility.[h,c] from blktap2/drivers/ into one common
separate area, like utils/ or something.
Also, I suggest moving all code from hashtable_itr.c and hashtable_utility.c into hashtable.c (and adding the appropriate declarations to hashtable.h). The copyrights
and attributions in the files seem to be the same. We could get rid of all the clutter and have just 3 files related to hashtable, common to both xenstore and blktap2/drivers/.
shriram
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 02 of 30] tools: libxc: drop rpm.spec, (continued)
- [Xen-devel] [PATCH 02 of 30] tools: libxc: drop rpm.spec, Ian Campbell
- [Xen-devel] [PATCH 05 of 30] tools: vtpm: Use $(BINDIR) rather than a privately defined variable, Ian Campbell
- [Xen-devel] [PATCH 06 of 30] tools: remove unnecessary uses of -L, Ian Campbell
- [Xen-devel] [PATCH 04 of 30] tools: Drop use of $(INCLUDES), Ian Campbell
- [Xen-devel] [PATCH 08 of 30] tools: Drop XEN_XC variable, Ian Campbell
- [Xen-devel] [PATCH 13 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenlight) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 11 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenctrl) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 10 of 30] tools: consistently use $(CFLAGS_xeninclude) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Campbell
- Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Campbell
- Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Shriram Rajagopalan
- Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Campbell
- Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Jackson
[Xen-devel] [PATCH 14 of 30] tools: xenstat: install and use shared library, Ian Campbell
[Xen-devel] [PATCH 12 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenstore) instead of open coding, Ian Campbell
[Xen-devel] [PATCH 15 of 30] tools: Drop $(X11_LDPATH) from build, Ian Campbell
[Xen-devel] [PATCH 07 of 30] tools: remove unnecessary uses of -I, Ian Campbell
|
|
|