projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e06f86e
)
f2fs: set encryption name flag in add inline entry path
author
Shuoran Liu
<liushuoran@huawei.com>
Mon, 29 Aug 2016 03:27:55 +0000
(11:27 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 8 Sep 2016 00:27:37 +0000
(17:27 -0700)
This patch sets encryption name flag in the add inline entry path
if filename is encrypted.
Signed-off-by: Shuoran Liu <liushuoran@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/inline.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/inline.c
b/fs/f2fs/inline.c
index a96c8252a5c4b6b0eaa89d76e1398d29f0515796..8a961072d6ae7bbc2cb9ddab2e361e7b7e6e19e6 100644
(file)
--- a/
fs/f2fs/inline.c
+++ b/
fs/f2fs/inline.c
@@
-525,6
+525,8
@@
int f2fs_add_inline_entry(struct inode *dir, const struct qstr *new_name,
err = PTR_ERR(page);
goto fail;
}
+ if (f2fs_encrypted_inode(dir))
+ file_set_enc_name(inode);
}
f2fs_wait_on_page_writeback(ipage, NODE, true);