On Fri, Jun 20, 2008 at 02:46:44PM +0200, Louis Rilling wrote: > But keeping this last config_item_put() prevents the simplification that I'm > defending. And I think that the simplification is worth moving this > config_item_put() before client_drop_item(). I guess I'm not seeing what's simpler. Four lines of try_module_get() aren't very complex, really. Conversely, having some functions that *don't* do config_item_get_item() is weird. Not invalid, just harder to read. Let's put it on the shelf. What I have with this patch is really no different in effective behavior. Joel -- "When ideas fail, words come in very handy." - Goethe Joel Becker Principal Software Developer Oracle E-mail: joel.becker@xxxxxxxxxx Phone: (650) 506-8127 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html