Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115813572
D32270.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D32270.diff
View Options
diff --git a/sys/fs/ext2fs/ext2_vnops.c b/sys/fs/ext2fs/ext2_vnops.c
--- a/sys/fs/ext2fs/ext2_vnops.c
+++ b/sys/fs/ext2fs/ext2_vnops.c
@@ -135,7 +135,6 @@
static vop_setextattr_t ext2_setextattr;
static vop_vptofh_t ext2_vptofh;
static vop_close_t ext2fifo_close;
-static vop_kqfilter_t ext2fifo_kqfilter;
/* Global vfs data structures for ext2. */
struct vop_vector ext2_vnodeops = {
@@ -191,7 +190,6 @@
.vop_fsync = ext2_fsync,
.vop_getattr = ext2_getattr,
.vop_inactive = ext2_inactive,
- .vop_kqfilter = ext2fifo_kqfilter,
.vop_pathconf = ext2_pathconf,
.vop_print = ext2_print,
.vop_read = VOP_PANIC,
@@ -1642,22 +1640,6 @@
return (fifo_specops.vop_close(ap));
}
-/*
- * Kqfilter wrapper for fifos.
- *
- * Fall through to ext2 kqfilter routines if needed
- */
-static int
-ext2fifo_kqfilter(struct vop_kqfilter_args *ap)
-{
- int error;
-
- error = fifo_specops.vop_kqfilter(ap);
- if (error)
- error = vfs_kqfilter(ap);
- return (error);
-}
-
/*
* Return POSIX pathconf information applicable to ext2 filesystems.
*/
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -130,7 +130,6 @@
static vop_symlink_t ufs_symlink;
static vop_whiteout_t ufs_whiteout;
static vop_close_t ufsfifo_close;
-static vop_kqfilter_t ufsfifo_kqfilter;
SYSCTL_NODE(_vfs, OID_AUTO, ufs, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
"UFS filesystem");
@@ -2578,23 +2577,6 @@
return (fifo_specops.vop_close(ap));
}
-/*
- * Kqfilter wrapper for fifos.
- *
- * Fall through to ufs kqfilter routines if needed
- */
-static int
-ufsfifo_kqfilter(ap)
- struct vop_kqfilter_args *ap;
-{
- int error;
-
- error = fifo_specops.vop_kqfilter(ap);
- if (error)
- error = vfs_kqfilter(ap);
- return (error);
-}
-
/*
* Return POSIX pathconf information applicable to ufs filesystems.
*/
@@ -3013,7 +2995,6 @@
.vop_close = ufsfifo_close,
.vop_getattr = ufs_getattr,
.vop_inactive = ufs_inactive,
- .vop_kqfilter = ufsfifo_kqfilter,
.vop_pathconf = ufs_pathconf,
.vop_print = ufs_print,
.vop_read = VOP_PANIC,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 1:02 AM (5 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17849196
Default Alt Text
D32270.diff (2 KB)
Attached To
Mode
D32270: vfs: remove dead fifoop VOP_KQFILTER implementations
Attached
Detach File
Event Timeline
Log In to Comment