[PATCH] err.h: Use bool for IS_ERR and IS_ERR_OR_NULL

2014-02-26 Thread Joe Perches
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 --- include/linux/err.h | 7

[PATCH] err.h: Use bool for IS_ERR and IS_ERR_OR_NULL

2014-02-26 Thread Joe Perches
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 j...@perches.com ---