Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1471528 > unrolled thread
| Started by | Shuoran Liu <liushuoran@huawei.com> |
|---|---|
| First post | 2016-08-29 05:30 +0200 |
| Last post | 2016-08-29 18:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/2] f2fs: set encryption name flag in add inline entry path Shuoran Liu <liushuoran@huawei.com> - 2016-08-29 05:30 +0200
Re: [PATCH 1/2] f2fs: set encryption name flag in add inline entry path Chao Yu <chao@kernel.org> - 2016-08-29 18:10 +0200
| From | Shuoran Liu <liushuoran@huawei.com> |
|---|---|
| Date | 2016-08-29 05:30 +0200 |
| Subject | [PATCH 1/2] f2fs: set encryption name flag in add inline entry path |
| Message-ID | <sblqN-20k-7@gated-at.bofh.it> |
This patch sets encryption name flag in the add inline entry path if filename is encrypted. Signed-off-by: Shuoran Liu <liushuoran@huawei.com> --- fs/f2fs/inline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index ccea873..f9ce04a7 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -524,6 +524,8 @@ int f2fs_add_inline_entry(struct inode *dir, const struct qstr *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); -- 1.9.1
[toc] | [next] | [standalone]
| From | Chao Yu <chao@kernel.org> |
|---|---|
| Date | 2016-08-29 18:10 +0200 |
| Subject | Re: [PATCH 1/2] f2fs: set encryption name flag in add inline entry path |
| Message-ID | <sbxii-10O-45@gated-at.bofh.it> |
| In reply to | #1471528 |
On 2016/8/29 11:27, Shuoran Liu wrote: > This patch sets encryption name flag in the add inline entry path > if filename is encrypted. > > Signed-off-by: Shuoran Liu <liushuoran@huawei.com> Acked-by: Chao Yu <yuchao0@huawei.com>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web