err.h: use bool for IS_ERR and IS_ERR_OR_NULL
authorJoe Perches <joe@perches.com>
Thu, 3 Apr 2014 21:48:31 +0000 (14:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:06 +0000 (16:21 -0700)
commita5ed3cee944abf2c80ae146b06f9055d7da03f94
tree49563f9cce54bd9a6f25aab4f4595feb4c92625b
parent8e3072a23ff8cf69b3e654a7cd64eae04f06a0e6
err.h: use bool for IS_ERR and IS_ERR_OR_NULL

Use the more natural return of bool for these tests.

No difference observed in .o files produced by gcc for x86.

Remove the dentry description of kernel pointers left over from the 90's
and 2002's cleanup move of parts of fs.h to err.h.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/err.h