Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 12:19:58 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232821 - in head: . include sys/fs/cd9660 sys/fs/ext2fs sys/fs/fifofs sys/fs/nfs sys/fs/tmpfs sys/fs/udf sys/gnu/fs/xfs/FreeBSD sys/kern sys/nfsclient sys/sys sys/ufs/ufs
Message-ID:  <201203111219.q2BCJwGN009328@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Mar 11 12:19:58 2012
New Revision: 232821
URL: http://svn.freebsd.org/changeset/base/232821

Log:
  Remove fifo.h. The only used function declaration from the header is
  migrated to sys/vnode.h.
  
  Submitted by:	gianni

Deleted:
  head/sys/fs/fifofs/fifo.h
Modified:
  head/ObsoleteFiles.inc
  head/include/Makefile
  head/sys/fs/cd9660/cd9660_vnops.c
  head/sys/fs/ext2fs/ext2_vnops.c
  head/sys/fs/fifofs/fifo_vnops.c
  head/sys/fs/nfs/nfsport.h
  head/sys/fs/tmpfs/tmpfs_vnops.c
  head/sys/fs/udf/udf_vnops.c
  head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c
  head/sys/kern/sys_pipe.c
  head/sys/nfsclient/nfs_vnops.c
  head/sys/sys/vnode.h
  head/sys/ufs/ufs/ufs_vnops.c

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/ObsoleteFiles.inc	Sun Mar 11 12:19:58 2012	(r232821)
@@ -38,6 +38,9 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20120309: Remove fifofs header files.
+OLD_FILES+=usr/include/fs/fifofs/fifo.h
+OLD_DIRS+=usr/include/fs/fifofs
 # 20120225: libarchive 3.0.3
 OLD_FILES+=usr/share/man/man3/archive_read_data_into_buffer.3.gz \
 	usr/share/man/man3/archive_read_support_compression_all.3.gz \

Modified: head/include/Makefile
==============================================================================
--- head/include/Makefile	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/include/Makefile	Sun Mar 11 12:19:58 2012	(r232821)
@@ -43,7 +43,7 @@ LSUBDIRS=	cam/ata cam/scsi \
 	dev/ic dev/iicbus ${_dev_ieee488} dev/io dev/lmc dev/mfi dev/ofw \
 	dev/pbio ${_dev_powermac_nvram} dev/ppbus dev/smbus \
 	dev/speaker dev/usb dev/utopia dev/vkbd dev/wi \
-	fs/devfs fs/fdescfs fs/fifofs fs/msdosfs fs/nfs fs/ntfs fs/nullfs \
+	fs/devfs fs/fdescfs fs/msdosfs fs/nfs fs/ntfs fs/nullfs \
 	${_fs_nwfs} fs/portalfs fs/procfs fs/smbfs fs/udf fs/unionfs \
 	geom/cache geom/concat geom/eli geom/gate geom/journal geom/label \
 	geom/mirror geom/mountver geom/multipath geom/nop \

Modified: head/sys/fs/cd9660/cd9660_vnops.c
==============================================================================
--- head/sys/fs/cd9660/cd9660_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/fs/cd9660/cd9660_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/buf.h>
 #include <sys/mount.h>
 #include <sys/vnode.h>
-#include <fs/fifofs/fifo.h>
 #include <sys/malloc.h>
 #include <sys/dirent.h>
 #include <sys/unistd.h>

Modified: head/sys/fs/ext2fs/ext2_vnops.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/fs/ext2fs/ext2_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -71,8 +71,6 @@
 
 #include "opt_directio.h"
 
-#include <fs/fifofs/fifo.h>
-
 #include <ufs/ufs/dir.h>
 
 #include <fs/ext2fs/fs.h>

Modified: head/sys/fs/fifofs/fifo_vnops.c
==============================================================================
--- head/sys/fs/fifofs/fifo_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/fs/fifofs/fifo_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -52,7 +52,6 @@
 #include <sys/un.h>
 #include <sys/unistd.h>
 #include <sys/vnode.h>
-#include <fs/fifofs/fifo.h>
 
 /*
  * This structure is associated with the FIFO vnode and stores

Modified: head/sys/fs/nfs/nfsport.h
==============================================================================
--- head/sys/fs/nfs/nfsport.h	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/fs/nfs/nfsport.h	Sun Mar 11 12:19:58 2012	(r232821)
@@ -78,7 +78,6 @@
 #include <sys/priv.h>
 #include <sys/kthread.h>
 #include <sys/syscallsubr.h>
-#include <fs/fifofs/fifo.h>
 #include <net/if.h>
 #include <net/radix.h>
 #include <net/route.h>

Modified: head/sys/fs/tmpfs/tmpfs_vnops.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/fs/tmpfs/tmpfs_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm_page.h>
 #include <vm/vm_pager.h>
 
-#include <fs/fifofs/fifo.h>
 #include <fs/tmpfs/tmpfs_vnops.h>
 #include <fs/tmpfs/tmpfs.h>
 

Modified: head/sys/fs/udf/udf_vnops.c
==============================================================================
--- head/sys/fs/udf/udf_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/fs/udf/udf_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -48,7 +48,6 @@
 
 #include <vm/uma.h>
 
-#include <fs/fifofs/fifo.h>
 #include <fs/udf/ecma167-udf.h>
 #include <fs/udf/osta.h>
 #include <fs/udf/udf.h>

Modified: head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c
==============================================================================
--- head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -46,8 +46,6 @@
 #include <vm/vm_pager.h>
 #include <vm/vnode_pager.h>
 
-#include <fs/fifofs/fifo.h>
-
 #define NO_VFS_MACROS
 #include "xfs.h"
 #include "xfs_types.h"

Modified: head/sys/kern/sys_pipe.c
==============================================================================
--- head/sys/kern/sys_pipe.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/kern/sys_pipe.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -129,8 +129,6 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm_page.h>
 #include <vm/uma.h>
 
-#include <fs/fifofs/fifo.h>
-
 /*
  * Use this define if you want to disable *fancy* VM things.  Expect an
  * approx 30% decrease in transfer rate.  This could be useful for

Modified: head/sys/nfsclient/nfs_vnops.c
==============================================================================
--- head/sys/nfsclient/nfs_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/nfsclient/nfs_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -67,8 +67,6 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm_extern.h>
 #include <vm/vm_object.h>
 
-#include <fs/fifofs/fifo.h>
-
 #include <nfs/nfsproto.h>
 #include <nfsclient/nfs.h>
 #include <nfsclient/nfsnode.h>

Modified: head/sys/sys/vnode.h
==============================================================================
--- head/sys/sys/vnode.h	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/sys/vnode.h	Sun Mar 11 12:19:58 2012	(r232821)
@@ -782,6 +782,9 @@ extern struct vop_vector default_vnodeop
 #define VOP_ENOENT	((void*)(uintptr_t)vop_enoent)
 #define VOP_EOPNOTSUPP	((void*)(uintptr_t)vop_eopnotsupp)
 
+/* fifo_vnops.c */
+int	fifo_printinfo(struct vnode *);
+
 /* vfs_hash.c */
 typedef int vfs_hash_cmp_t(struct vnode *vp, void *arg);
 

Modified: head/sys/ufs/ufs/ufs_vnops.c
==============================================================================
--- head/sys/ufs/ufs/ufs_vnops.c	Sun Mar 11 09:29:02 2012	(r232820)
+++ head/sys/ufs/ufs/ufs_vnops.c	Sun Mar 11 12:19:58 2012	(r232821)
@@ -68,8 +68,6 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm.h>
 #include <vm/vm_extern.h>
 
-#include <fs/fifofs/fifo.h>
-
 #include <ufs/ufs/acl.h>
 #include <ufs/ufs/extattr.h>
 #include <ufs/ufs/quota.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203111219.q2BCJwGN009328>