mirror of
https://github.com/opnsense/src.git
synced 2026-07-14 19:51:17 -04:00
Change the default method for device_quiesce() to return 0 instead of
EOPNOTSUPP. The current behavior can mask real quiesce errors since devclass_quiesce_driver() stops iterating over drivers as soon as it gets an error (incluiding EOPNOTSUPP), but the caller it returns the error to explicitly ignores EOPNOTSUPP. Reviewed by: imp
This commit is contained in:
parent
18ecc14c78
commit
7a635f0d70
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ CODE {
|
|||
|
||||
static int null_quiesce(device_t dev)
|
||||
{
|
||||
return EOPNOTSUPP;
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue