Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 19:00:13 +0000 (UTC)
From:      John Baldwin <jhb@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: r328295 - stable/11/sys/fs/tmpfs
Message-ID:  <201801231900.w0NJ0DgR005983@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue Jan 23 19:00:13 2018
New Revision: 328295
URL: https://svnweb.freebsd.org/changeset/base/328295

Log:
  MFC 323993: Use tmpfs_print for tmpfs FIFOs.

Modified:
  stable/11/sys/fs/tmpfs/tmpfs_fifoops.c
  stable/11/sys/fs/tmpfs/tmpfs_vnops.c
  stable/11/sys/fs/tmpfs/tmpfs_vnops.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/fs/tmpfs/tmpfs_fifoops.c
==============================================================================
--- stable/11/sys/fs/tmpfs/tmpfs_fifoops.c	Tue Jan 23 18:22:41 2018	(r328294)
+++ stable/11/sys/fs/tmpfs/tmpfs_fifoops.c	Tue Jan 23 19:00:13 2018	(r328295)
@@ -69,5 +69,5 @@ struct vop_vector tmpfs_fifoop_entries = {
 	.vop_access =			tmpfs_access,
 	.vop_getattr =			tmpfs_getattr,
 	.vop_setattr =			tmpfs_setattr,
+	.vop_print =			tmpfs_print,
 };
-

Modified: stable/11/sys/fs/tmpfs/tmpfs_vnops.c
==============================================================================
--- stable/11/sys/fs/tmpfs/tmpfs_vnops.c	Tue Jan 23 18:22:41 2018	(r328294)
+++ stable/11/sys/fs/tmpfs/tmpfs_vnops.c	Tue Jan 23 19:00:13 2018	(r328295)
@@ -1310,7 +1310,7 @@ tmpfs_reclaim(struct vop_reclaim_args *v)
 	return 0;
 }
 
-static int
+int
 tmpfs_print(struct vop_print_args *v)
 {
 	struct vnode *vp = v->a_vp;

Modified: stable/11/sys/fs/tmpfs/tmpfs_vnops.h
==============================================================================
--- stable/11/sys/fs/tmpfs/tmpfs_vnops.h	Tue Jan 23 18:22:41 2018	(r328294)
+++ stable/11/sys/fs/tmpfs/tmpfs_vnops.h	Tue Jan 23 19:00:13 2018	(r328295)
@@ -49,6 +49,7 @@ extern struct vop_vector tmpfs_vnodeop_nonc_entries;
 vop_access_t	tmpfs_access;
 vop_getattr_t	tmpfs_getattr;
 vop_setattr_t	tmpfs_setattr;
+vop_print_t	tmpfs_print;
 vop_reclaim_t	tmpfs_reclaim;
 
 #endif /* _FS_TMPFS_TMPFS_VNOPS_H_ */



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