Date: Mon, 10 Aug 2020 15:42:37 -0700 From: Ravi Pokala <rpokala@freebsd.org> To: Mateusz Guzik <mjg@FreeBSD.org>, <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-head@freebsd.org> Subject: Re: svn commit: r364076 - head/sys/fs/devfs Message-ID: <7EDE5621-FB3C-4FA5-A925-30F2367ADEBD@panasas.com> In-Reply-To: <202008101146.07ABkeAw039895@repo.freebsd.org> References: <202008101146.07ABkeAw039895@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message----- From: <owner-src-committers@freebsd.org> on behalf of Mateusz Guzik <mjg@FreeBSD.org> Date: 2020-08-10, Monday at 04:46 To: <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-head@freebsd.org> Subject: svn commit: r364076 - head/sys/fs/devfs Author: mjg Date: Mon Aug 10 11:46:39 2020 New Revision: 364076 URL: https://svnweb.freebsd.org/changeset/base/364076 Log: devfs: bool -> int Fixes buildworld after r364069 It was returning the result of a "!=" test; is that not a bool? -Ravi (rpokala@) Modified: head/sys/fs/devfs/devfs.h head/sys/fs/devfs/devfs_devs.c Modified: head/sys/fs/devfs/devfs.h ============================================================================== --- head/sys/fs/devfs/devfs.h Mon Aug 10 10:58:43 2020 (r364075) +++ head/sys/fs/devfs/devfs.h Mon Aug 10 11:46:39 2020 (r364076) @@ -192,7 +192,7 @@ char *devfs_fqpn(char *, struct devfs_mount *, struct struct componentname *); void devfs_delete(struct devfs_mount *, struct devfs_dirent *, int); void devfs_dirent_free(struct devfs_dirent *); -bool devfs_populate_needed(struct devfs_mount *dm); +int devfs_populate_needed(struct devfs_mount *dm); void devfs_populate(struct devfs_mount *); void devfs_cleanup(struct devfs_mount *); void devfs_unmount_final(struct devfs_mount *); Modified: head/sys/fs/devfs/devfs_devs.c ============================================================================== --- head/sys/fs/devfs/devfs_devs.c Mon Aug 10 10:58:43 2020 (r364075) +++ head/sys/fs/devfs/devfs_devs.c Mon Aug 10 11:46:39 2020 (r364076) @@ -659,7 +659,7 @@ devfs_populate_loop(struct devfs_mount *dm, int cleanu return (0); } -bool +int devfs_populate_needed(struct devfs_mount *dm) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7EDE5621-FB3C-4FA5-A925-30F2367ADEBD>