f2fs crypto: allow setting encryption policy once
authorChao Yu <chao2.yu@samsung.com>
Mon, 25 May 2015 10:09:03 +0000 (18:09 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 1 Jun 2015 23:21:06 +0000 (16:21 -0700)
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>

No differences found