linux/fs/f2fs
Namjae Jeon 61412b64b9 f2fs: move error condition for mkdir at proper place
In function f2fs_mkdir, err is being initialized without even checking
if there was any error in new inode creation. So, instead check the
inode error and make use of error/return condition.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
2012-12-11 13:43:44 +09:00
..
acl.c f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
acl.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
checkpoint.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
data.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
debug.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
dir.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
f2fs.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
file.c f2fs: check read only condition before beginning write out 2012-12-11 13:43:43 +09:00
gc.c f2fs: remove unneeded initialization 2012-12-11 13:43:44 +09:00
gc.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
hash.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
inode.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
Kconfig f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
namei.c f2fs: move error condition for mkdir at proper place 2012-12-11 13:43:44 +09:00
node.c f2fs: fix the compiler warning for uninitialized use of variable 2012-12-11 13:43:43 +09:00
node.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
recovery.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
segment.c f2fs: remove unneeded initialization 2012-12-11 13:43:44 +09:00
segment.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
super.c f2fs: remove unneeded memset from init_once 2012-12-11 13:43:43 +09:00
xattr.c f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
xattr.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00