Re: [PATCH 6/7] s390: dasd open counter.

From: Andrew Morton
Date: Wed Jan 18 2006 - 23:15:40 EST


Andrew Morton <akpm@xxxxxxxx> wrote:
>
> > + dasd_info->open_count = atomic_read(&device->open_count);
> > + if (!device->bdev)
> > + dasd_info->open_count++;
>
> I'll change the above to atomic_inc().

oops, misread it, sorry.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/