Messages in this thread | | | Date | Wed, 18 Feb 2004 18:07:29 -0800 | From | "Randy.Dunlap" <> | Subject | Re: [RFC] How should delete_resource() handle children? |
| |
On Thu, 19 Feb 2004 13:12:18 +1100 Nick Piggin <piggin@cyberone.com.au> wrote:
| | | Randy.Dunlap wrote: | | >On Tue, 10 Feb 2004 19:33:49 +0000 Matthew Wilcox <willy@debian.org> 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. | > | > | | -EBUSY?
Yes, that makes more sense.
-- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |