xfs: semaphore cleanup

Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead.

(Ported to current XFS code by <aelder@sgi.com>.)

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
Thomas Gleixner 2010-09-07 14:33:15 +00:00 • committed by Alex Elder
commit a731cd116c