commit | 81b0a8ffaa92012e63ea611e8aeb9e74acfcedac | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Mon May 25 18:09:03 2015 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Jun 01 16:21:06 2015 -0700 |
tree | e221f74861a7329db0d80a771d3fad2afa80dc90 | |
parent | d3baf7c4725601d4689397b9f7dde9e3ddea032d [diff] |
f2fs crypto: allow setting encryption policy once This patch add XATTR_CREATE flag in setxattr when setting encryption context for inode. Without this flag the context could be set more than once, this should never happen. So, fix it. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>