f2fs: early check broken symlink length in the encrypted case
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Dec 2015 00:13:09 +0000 (16:13 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 Dec 2015 18:14:19 +0000 (10:14 -0800)
commit8dc0d6a11e7d985dd466ce0a8c71eaea50dd7cc6
tree46ffa60753b849730256f2b5655eb090dd3675fb
parente96248bb45d42375b23e1c083ec5a55151503e82
f2fs: early check broken symlink length in the encrypted case

If link is broken, its len is zero, and we don't need to move forward.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c