Give the swap device a D_DISK flag against my better judgement.

TODO: add an open routing which fails for bdev opens.
This commit is contained in:
Poul-Henning Kamp 1999-10-04 12:27:58 +00:00
parent 662761a74b
commit 03bf3ccb9c
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ static struct cdevsw sw_cdevsw = {
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};