Re: [Patch RFC 21/37] affs: use semaphore_init instead ofinit_MUTEX

From: Christoph Hellwig
Date: Thu Jul 30 2009 - 17:15:00 EST


On Sun, Jul 26, 2009 at 08:18:45AM -0000, Thomas Gleixner wrote:
> The usage of these "mutex" is non obvious and probably a completion
> in some places. Make it them semaphores.

Except for the obsfucation by the wrappers it's clearly obvious that
these are plain binary mutexes, so they should be converted. Note that
this will trigger some lockdep warnings as we sometimes hold the same
lock for parent and child. Maybe we can use this as a check if any
users of affs are left :)

--
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/