Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — fs/configfs/dir.c | 5 +++– 1 file changed, 3 insertions(+), 2 deletions(-) diff –git a/fs/configfs/dir.c b/fs/configfs/dir.c index 712b10f..e9dcfa3 …