svn commit: r312064 - stable/11/sys/fs/tmpfs
Konstantin Belousov
kib at FreeBSD.org
Fri Jan 13 12:31:57 UTC 2017
Author: kib
Date: Fri Jan 13 12:31:56 2017
New Revision: 312064
URL: https://svnweb.freebsd.org/changeset/base/312064
Log:
MFC r311523:
Remove dead code.
Modified:
stable/11/sys/fs/tmpfs/tmpfs_fifoops.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/fs/tmpfs/tmpfs_fifoops.c
==============================================================================
--- stable/11/sys/fs/tmpfs/tmpfs_fifoops.c Fri Jan 13 10:55:26 2017 (r312063)
+++ stable/11/sys/fs/tmpfs/tmpfs_fifoops.c Fri Jan 13 12:31:56 2017 (r312064)
@@ -49,27 +49,6 @@
#include <fs/tmpfs/tmpfs_vnops.h>
static int
-tmpfs_fifo_kqfilter(struct vop_kqfilter_args *ap)
-{
- struct vnode *vp;
- struct tmpfs_node *node;
-
- vp = ap->a_vp;
- node = VP_TO_TMPFS_NODE(vp);
-
- switch (ap->a_kn->kn_filter){
- case EVFILT_READ:
- node->tn_status |= TMPFS_NODE_ACCESSED;
- break;
- case EVFILT_WRITE:
- node->tn_status |= TMPFS_NODE_MODIFIED;
- break;
- }
-
- return fifo_specops.vop_kqfilter(ap);
-}
-
-static int
tmpfs_fifo_close(struct vop_close_args *v)
{
struct tmpfs_node *node;
@@ -90,6 +69,5 @@ struct vop_vector tmpfs_fifoop_entries =
.vop_access = tmpfs_access,
.vop_getattr = tmpfs_getattr,
.vop_setattr = tmpfs_setattr,
- .vop_kqfilter = tmpfs_fifo_kqfilter,
};
More information about the svn-src-stable
mailing list