From: Namjae Jeon Date: Sat, 1 Dec 2012 01:56:25 +0000 (+0900) Subject: f2fs: move error condition for mkdir at proper place X-Git-Tag: v3.8-rc1~23^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61412b64b965af72798000c3c921e88db31216b1;p=pandora-kernel.git 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 Signed-off-by: Amit Sahrawat --- Reading git-diff-tree failed