* devices.h: Renumber internal devices so that FH_PROCESS is part of

the /proc family of virtual devices.
	(FH_PROC_MAX_MINOR): Define.
	* path.h (isproc_dev): Use FH_PROC_MAX_MINOR rather than FH_PROC.
This commit is contained in:
Corinna Vinschen
2011-04-20 07:29:10 +00:00
parent f59c2998a1
commit 12c0f2d909
3 changed files with 22 additions and 13 deletions

View File

@ -18,7 +18,7 @@ details. */
#include <fcntl.h>
#define isproc_dev(devn) \
(devn >= FH_PROC_MIN_MINOR && devn <= FH_PROC)
(devn >= FH_PROC_MIN_MINOR && devn <= FH_PROC_MAX_MINOR)
#define isprocsys_dev(devn) (devn == FH_PROCSYS)