diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-05-27 19:51:42 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-06-01 16:21:07 -0700 |
commit | e992e238ff93920da65f5aa83d3f3e257530ce8b (patch) | |
tree | cd1d23eac7e80a329d41291e9c2bc9ba303a39e4 /fs/f2fs/crypto_fname.c | |
parent | 4637fd11fff7ddca1a1d7d27d2fbfc4dcb8e9791 (diff) | |
download | blackbird-op-linux-e992e238ff93920da65f5aa83d3f3e257530ce8b.tar.gz blackbird-op-linux-e992e238ff93920da65f5aa83d3f3e257530ce8b.zip |
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: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/crypto_fname.c')
0 files changed, 0 insertions, 0 deletions