Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e992e238 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs crypto: avoid f2fs_inherit_context for symlink



This patch fixes to call f2fs_inherit_context twice for newly created symlink.
The original one is called by f2fs_add_link(), which invokes f2fs_setxattr.
If the second one is called again, f2fs_setxattr is triggered again with same
encryption index.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 4637fd11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment