commit | 61412b64b965af72798000c3c921e88db31216b1 | [log] [tgz] |
---|---|---|
author | Namjae Jeon <namjae.jeon@samsung.com> | Sat Dec 01 10:56:25 2012 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Tue Dec 11 13:43:44 2012 +0900 |
tree | 8d078a7feb21c9a5bb4d7e1bbe479275671e543b | |
parent | 1042d60f917d78ef1a6eaea297a1020484d4bf74 [diff] |
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>