Tag: 49deb4bc227cb9db5b8ebf9434367f8bed057c7a

configfs: move the dereference below the NULL test

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 …

Lire la suite