From e002f66e40b83b02328ea6d362e16fb5e3340285 Mon Sep 17 00:00:00 2001 From: y30045862 Date: Tue, 23 Jul 2024 15:49:44 +0800 Subject: [PATCH] epfs tmpfile adaption issue fix Signed-off-by: yangjingbo10 Change-Id: I149d11c62f14f9ac98a582cf01ea1ce18691595a --- fs/epfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/epfs/inode.c b/fs/epfs/inode.c index 510c38733947..99b94108d84a 100644 --- a/fs/epfs/inode.c +++ b/fs/epfs/inode.c @@ -41,7 +41,7 @@ static int epfs_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) d_tmpfile(file, inode); if (IS_ENABLED(CONFIG_EPFS_DEBUG)) epfs_debug("epfs: tmpfile %p", inode); - return 0; + return finish_open_simple(file, 0);; } const struct inode_operations epfs_dir_iops = { -- Gitee