* [PATCH] remove remaining unused-but-installed headers
@ 2009-01-28 11:24 Nathan Scott
2009-01-29 22:37 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Nathan Scott @ 2009-01-28 11:24 UTC (permalink / raw)
To: xfs
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
Looks like Barry missed a few headers... or at least, I can't
find anything outside xfsprogs that uses these anymore. But,
no sane reason we should be installing these in /usr/include/
disk on everyone's systems - build can get 'em out of its own
include/ directory already.
cheers.
--
Nathan
[-- Attachment #2: disk.patch --]
[-- Type: text/x-patch, Size: 988 bytes --]
diff --git a/include/Makefile b/include/Makefile
index 0403536..07076cc 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -29,9 +29,9 @@ QAHFILES = libxfs.h libxlog.h \
xfs_imap.h xfs_inode.h xfs_inode_item.h xfs_inum.h \
xfs_log.h xfs_log_priv.h xfs_log_recover.h xfs_metadump.h \
xfs_mount.h xfs_quota.h xfs_rtalloc.h xfs_sb.h \
- xfs_trans.h xfs_trans_space.h xfs_types.h
+ xfs_trans.h xfs_trans_space.h xfs_types.h xfs_dfrag.h
-HFILES = handle.h jdm.h xqm.h xfs.h xfs_dfrag.h xfs_fs.h
+HFILES = handle.h jdm.h xqm.h xfs.h xfs_fs.h
HFILES += $(PKG_PLATFORM).h
PHFILES = darwin.h freebsd.h irix.h linux.h
DKHFILES = volume.h fstyp.h dvh.h
@@ -51,8 +51,6 @@ install-dev: default
$(INSTALL) -m 755 -d $(PKG_INC_DIR)
$(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)
$(INSTALL) -m 644 platform_defs.h $(PKG_INC_DIR)
- $(INSTALL) -m 755 -d $(DK_INC_DIR)
- $(INSTALL) -m 644 $(DKHFILES) $(DK_INC_DIR)
install-qa: install-dev
$(INSTALL) -m 644 $(QAHFILES) $(PKG_INC_DIR)
[-- Attachment #3: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] remove remaining unused-but-installed headers
2009-01-28 11:24 [PATCH] remove remaining unused-but-installed headers Nathan Scott
@ 2009-01-29 22:37 ` Christoph Hellwig
2009-01-29 22:39 ` Eric Sandeen
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2009-01-29 22:37 UTC (permalink / raw)
To: Nathan Scott; +Cc: xfs
On Wed, Jan 28, 2009 at 10:24:03PM +1100, Nathan Scott wrote:
> diff --git a/include/Makefile b/include/Makefile
> index 0403536..07076cc 100644
> --- a/include/Makefile
> +++ b/include/Makefile
> @@ -29,9 +29,9 @@ QAHFILES = libxfs.h libxlog.h \
> xfs_imap.h xfs_inode.h xfs_inode_item.h xfs_inum.h \
> xfs_log.h xfs_log_priv.h xfs_log_recover.h xfs_metadump.h \
> xfs_mount.h xfs_quota.h xfs_rtalloc.h xfs_sb.h \
> - xfs_trans.h xfs_trans_space.h xfs_types.h
> + xfs_trans.h xfs_trans_space.h xfs_types.h xfs_dfrag.h
dfrag is not needed anymore because we moved fsr to xfsprogs.
> - $(INSTALL) -m 755 -d $(DK_INC_DIR)
> - $(INSTALL) -m 644 $(DKHFILES) $(DK_INC_DIR)
I think as some point libdisk was supposed to be a library others
could use. I don't mind if we make it private as it should be fold
into the libvolume_id/libblkid successor in util-linux one day.
So all over this look good to me.
Reviewed-by: Christoph Hellwig <hch@lst.de>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] remove remaining unused-but-installed headers
2009-01-29 22:37 ` Christoph Hellwig
@ 2009-01-29 22:39 ` Eric Sandeen
0 siblings, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2009-01-29 22:39 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Nathan Scott, xfs
Christoph Hellwig wrote:
> On Wed, Jan 28, 2009 at 10:24:03PM +1100, Nathan Scott wrote:
>> diff --git a/include/Makefile b/include/Makefile
>> index 0403536..07076cc 100644
>> --- a/include/Makefile
>> +++ b/include/Makefile
>> @@ -29,9 +29,9 @@ QAHFILES = libxfs.h libxlog.h \
>> xfs_imap.h xfs_inode.h xfs_inode_item.h xfs_inum.h \
>> xfs_log.h xfs_log_priv.h xfs_log_recover.h xfs_metadump.h \
>> xfs_mount.h xfs_quota.h xfs_rtalloc.h xfs_sb.h \
>> - xfs_trans.h xfs_trans_space.h xfs_types.h
>> + xfs_trans.h xfs_trans_space.h xfs_types.h xfs_dfrag.h
>
> dfrag is not needed anymore because we moved fsr to xfsprogs.
>
>> - $(INSTALL) -m 755 -d $(DK_INC_DIR)
>> - $(INSTALL) -m 644 $(DKHFILES) $(DK_INC_DIR)
>
> I think as some point libdisk was supposed to be a library others
> could use. I don't mind if we make it private as it should be fold
> into the libvolume_id/libblkid successor in util-linux one day.
I don't know if there are plans to get the stripe size stuff into the
successor (what we have is kinda hacky) but maybe we should start that
conversation.
Keeping private should be fine, though.
-Eric
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-29 22:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 11:24 [PATCH] remove remaining unused-but-installed headers Nathan Scott
2009-01-29 22:37 ` Christoph Hellwig
2009-01-29 22:39 ` Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox