[XFS] lock validator: lockdep: small xfs init_rwsem() cleanup
authorIngo Molnar <mingo@elte.hu>
Fri, 9 Jun 2006 04:57:01 +0000 (14:57 +1000)
committerNathan Scott <nathans@sgi.com>
Fri, 9 Jun 2006 04:57:01 +0000 (14:57 +1000)
commit72c93bcc6348a385416603459c2fdb4cf6c43687
treed72b32c62346b476c81b8e22253cfeb39f8b6468
parent87c199c2a79220ac9e216e72d18a15148f84d9e0
[XFS] lock validator: lockdep: small xfs init_rwsem() cleanup
init_rwsem() has no return value.  This is not a problem if init_rwsem()
is a function, but it's a problem if it's a do { ...  } while (0) macro.
(which lockdep introduces)

SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26082a

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/mrlock.h