From owner-svn-src-head@freebsd.org Wed Dec 6 00:42:10 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 107D9E89461; Wed, 6 Dec 2017 00:42:10 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DEC117B1A4; Wed, 6 Dec 2017 00:42:09 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB60g9PY003154; Wed, 6 Dec 2017 00:42:09 GMT (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB60g83H003150; Wed, 6 Dec 2017 00:42:08 GMT (envelope-from glebius@FreeBSD.org) Message-Id: <201712060042.vB60g83H003150@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: glebius set sender to glebius@FreeBSD.org using -f From: Gleb Smirnoff Date: Wed, 6 Dec 2017 00:42:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326607 - head/sys/fs/tmpfs X-SVN-Group: head X-SVN-Commit-Author: glebius X-SVN-Commit-Paths: head/sys/fs/tmpfs X-SVN-Commit-Revision: 326607 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2017 00:42:10 -0000 Author: glebius Date: Wed Dec 6 00:42:08 2017 New Revision: 326607 URL: https://svnweb.freebsd.org/changeset/base/326607 Log: Reduce pollution via tmpfs.h. Modified: head/sys/fs/tmpfs/tmpfs.h head/sys/fs/tmpfs/tmpfs_subr.c head/sys/fs/tmpfs/tmpfs_vfsops.c head/sys/fs/tmpfs/tmpfs_vnops.c Modified: head/sys/fs/tmpfs/tmpfs.h ============================================================================== --- head/sys/fs/tmpfs/tmpfs.h Wed Dec 6 00:29:50 2017 (r326606) +++ head/sys/fs/tmpfs/tmpfs.h Wed Dec 6 00:42:08 2017 (r326607) @@ -37,22 +37,13 @@ #ifndef _FS_TMPFS_TMPFS_H_ #define _FS_TMPFS_TMPFS_H_ -#include -#include #include -#include -#include -#include -#include - -#include -#include #include -#include -#include +#ifdef _SYS_MALLOC_H_ MALLOC_DECLARE(M_TMPFSMNT); MALLOC_DECLARE(M_TMPFSNAME); +#endif /* * Internal representation of a tmpfs directory entry. Modified: head/sys/fs/tmpfs/tmpfs_subr.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_subr.c Wed Dec 6 00:29:50 2017 (r326606) +++ head/sys/fs/tmpfs/tmpfs_subr.c Wed Dec 6 00:42:08 2017 (r326607) @@ -39,8 +39,11 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include +#include +#include #include #include #include @@ -59,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_vfsops.c Wed Dec 6 00:29:50 2017 (r326606) +++ head/sys/fs/tmpfs/tmpfs_vfsops.c Wed Dec 6 00:42:08 2017 (r326607) @@ -46,8 +46,10 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include +#include #include #include #include @@ -56,6 +58,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include Modified: head/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_vnops.c Wed Dec 6 00:29:50 2017 (r326606) +++ head/sys/fs/tmpfs/tmpfs_vnops.c Wed Dec 6 00:42:08 2017 (r326607) @@ -39,9 +39,11 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include #include +#include #include #include #include