f2fs: reorganize f2fs_setxattr
authorNamjae Jeon <namjae.jeon@samsung.com>
Sun, 17 Mar 2013 08:26:39 +0000 (17:26 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 20 Mar 2013 09:30:15 +0000 (18:30 +0900)
commit7c909772f1222dd82098659da4d0c41d8a051790
tree9e1ce1175d34ffc8114b861e613b78c62a9edb0e
parentd3ee456dfbed1992bcaa0096d9bc76a691b0e700
f2fs: reorganize f2fs_setxattr

make use of F2FS_NAME_LEN for name length checking,
change return conditions at few places, by assigning
storing the errorvalue in 'error' and making a common
exit path.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/xattr.c