svn commit: r364076 - head/sys/fs/devfs
Ravi Pokala
rpokala at freebsd.org
Mon Aug 10 22:42:39 UTC 2020
-----Original Message-----
From: <owner-src-committers at freebsd.org> on behalf of Mateusz Guzik <mjg at FreeBSD.org>
Date: 2020-08-10, Monday at 04:46
To: <src-committers at freebsd.org>, <svn-src-all at freebsd.org>, <svn-src-head at 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)
{
More information about the svn-src-all
mailing list