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)
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Date: Tue May 30 11:14:09 AEST 2006
Workarea: chook.melbourne.sgi.com:/build/nathans/xfs-linux
Inspected by: mingo
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/xfs-kern/xfs-linux-melb
Modid: xfs-linux-melb:xfs-kern:26082a
linux-2.6/mrlock.h - 1.18 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/mrlock.h.diff?r1=text&tr1=1.18&r2=text&tr2=1.17&f=h
|