On Tue, 10 Feb 2004 19:33:49 +0000 Matthew Wilcox <willy@xxxxxxxxxx> wrote:...
| | If you call release_resource() on a resource that has children, all
| of those children are silently removed from the list too. Does anybody
| currently depend on that behaviour?
|
| | | Comments?
Ideally (or if nothing depends on the current behavior), I think it
should just be an error (return -EINVAL), not a BUG_ON(). I.e.,
releasing a resource should be an explicit action.