Re: Why /dev/sdc1 doesn't show up...

Roman Zippel
2002-11-18T09:55:40Z

Hi,

On Mon, 18 Nov 2002, Rusty Russell wrote:

> And it *still* means you need two paths for your code: one for "I know
> it's not actually "active" yet, but I'm doing init and I need to
> access it anyway". So every interface gains significant complexity by
> effectively implementing their own "live" flag...

Rusty, you know how refcounts work? Especially the "if
(atomic_dec_and_test(&obj->ref)) cleanup(obj)" part is really interesting.

bye, Roman