在 2021/1/23 5:22, Richard Weinberger 写道:
Reviewed-by: Zhihao Cheng
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index 9a6b8660425a..04912dedca48 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -693,7 +693,7 @@ static int ubifs_link(struct dentry *old_dentry, struct
inode *dir,
We need to use fscrypt filename handling wrappers
when calculating the size of a directory entry, otherwise
UBIFS will report the wrong value (size of plain instead of cihper text)
for st_size of a directory if fscrypt is enabled.
Cc: sta...@vger.kernel.org
Fixes: f4f61d2cc6d8 ("ubifs: Implement
2 matches
Mail list logo