]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: remove unneeded memset when updating xattr
authorChao Yu <yuchao0@huawei.com>
Wed, 4 May 2016 15:19:46 +0000 (23:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 7 May 2016 17:32:28 +0000 (10:32 -0700)
commit3bb2f1f7137b1aa972def843dca8a4bfe60b1943
treec77a7adc65666c06f05e615c53522d3cbe90fc90
parent8a2c2a280eeb8db243a0cd419aff78b3c69956db
f2fs: remove unneeded memset when updating xattr

Each of fields in struct f2fs_xattr_entry will be assigned later,
so previously we don't need to memset the struct.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/xattr.c