[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)
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>

No differences found