1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * fs/epfs/main.c 4 * 5 * Copyright (c) 2022 Huawei Technologies Co., Ltd. 6 * Author: weilongping@huawei.com 7 * Create: 2022-06-10 8 */ 9 #include "internal.h" 10 epfs_d_revalidate(struct dentry * dentry,unsigned int flags)11static int epfs_d_revalidate(struct dentry *dentry, unsigned int flags) 12 { 13 return 1; 14 } 15 epfs_d_release(struct dentry * dentry)16static void epfs_d_release(struct dentry *dentry) 17 { 18 } 19 20 const struct dentry_operations epfs_dops = { 21 .d_revalidate = epfs_d_revalidate, 22 .d_release = epfs_d_release, 23 }; 24