mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
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:
parent
662761a74b
commit
03bf3ccb9c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51928
@ -81,7 +81,7 @@ static struct cdevsw sw_cdevsw = {
|
||||
/* maj */ CDEV_MAJOR,
|
||||
/* dump */ nodump,
|
||||
/* psize */ nopsize,
|
||||
/* flags */ 0,
|
||||
/* flags */ D_DISK,
|
||||
/* bmaj */ BDEV_MAJOR
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user