Date: Fri, 13 Jan 2017 12:31:56 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r312064 - stable/11/sys/fs/tmpfs Message-ID: <201701131231.v0DCVuYG049258@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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, };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701131231.v0DCVuYG049258>