* devices.h (FH_DEV): Define as DEV_VIRTFS_MAJOR class device.

(DEV_DEV_MAJOR): Remove.
	* dtable.cc (fh_alloc): Accommodate above change.
	* syscalls.cc (set_ino_and_dev): Drop check for DEV_DEV_MAJOR from
	conditional.
This commit is contained in:
Corinna Vinschen
2012-04-02 11:45:56 +00:00
parent 949cc8b640
commit 1f312200d3
4 changed files with 13 additions and 7 deletions

View File

@ -459,9 +459,6 @@ fh_alloc (path_conv& pc)
case DEV_CYGDRIVE_MAJOR:
fh = cnew (fhandler_cygdrive);
break;
case DEV_DEV_MAJOR:
fh = cnew (fhandler_dev);
break;
case DEV_FLOPPY_MAJOR:
case DEV_CDROM_MAJOR:
case DEV_SD_MAJOR:
@ -562,6 +559,9 @@ fh_alloc (path_conv& pc)
case FH_NETDRIVE:
fh = cnew (fhandler_netdrive);
break;
case FH_DEV:
fh = cnew (fhandler_dev);
break;
case FH_TTY:
if (!pc.isopen ())
{