summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_sysctl.h
diff options
context:
space:
mode:
authorNamjae Jeon2012-12-01 02:56:25 +0100
committerJaegeuk Kim2012-12-11 05:43:44 +0100
commit61412b64b965af72798000c3c921e88db31216b1 (patch)
tree8d078a7feb21c9a5bb4d7e1bbe479275671e543b /fs/xfs/xfs_sysctl.h
parentf2fs: remove unneeded initialization (diff)
downloadkernel-qcow2-linux-61412b64b965af72798000c3c921e88db31216b1.tar.gz
kernel-qcow2-linux-61412b64b965af72798000c3c921e88db31216b1.tar.xz
kernel-qcow2-linux-61412b64b965af72798000c3c921e88db31216b1.zip
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>
Diffstat (limited to 'fs/xfs/xfs_sysctl.h')
0 files changed, 0 insertions, 0 deletions