linux_old1/fs/configfs
Wei Yongjun 49deb4bc22 configfs: move the dereference below the NULL test
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 <yongjun_wei@trendmicro.com.cn>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-21 17:22:19 -08:00
..
Kconfig configfs: change depends -> select SYSFS 2011-01-16 21:22:29 +00:00
Makefile [PATCH] configfs: User-driven configuration filesystem 2006-01-03 11:45:28 -08:00
configfs_internal.h make configfs_pin_fs() return root dentry on success 2012-03-20 21:29:48 -04:00
dir.c configfs: move the dereference below the NULL test 2013-02-21 17:22:19 -08:00
file.c fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
inode.c userns: Convert configfs to use kuid and kgid where appropriate 2012-09-18 01:01:37 -07:00
item.c doc: fix broken references 2011-09-27 18:08:04 +02:00
mount.c make configfs_pin_fs() return root dentry on success 2012-03-20 21:29:48 -04:00
symlink.c configfs: kill configfs_sb 2012-03-20 21:29:47 -04:00