OSDN Git Service

f2fs crypto: avoid unneeded memory allocation when {en/de}crypting symlink
authorChao Yu <chao2.yu@samsung.com>
Mon, 15 Feb 2016 09:54:26 +0000 (17:54 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit922ec355f86365388203672119b5bca346a45085
tree5f8f45642a18e05c51da9053fe1f8da2c9d197c0
parentae1086686487f13130937918ca91d920c1daafcb
f2fs crypto: avoid unneeded memory allocation when {en/de}crypting symlink

This patch adopts f2fs with codes of ext4, it removes unneeded memory
allocation in creating/accessing path of symlink.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/crypto_fname.c
fs/f2fs/f2fs.h
fs/f2fs/namei.c