namei.c (976e3645923bdd2fe7893aae33fd7a21098bfb28) namei.c (e7cda1ee94f464e02e356319aec7d83ccba8cab4)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2017-2018 HUAWEI, Inc.
4 * http://www.huawei.com/
5 * Created by Gao Xiang <gaoxiang25@huawei.com>
6 */
7#include "xattr.h"
8

--- 230 unchanged lines hidden (view full) ---

239 inode = erofs_iget(dir->i_sb, nid, d_type == FT_DIR);
240 }
241 return d_splice_alias(inode, dentry);
242}
243
244const struct inode_operations erofs_dir_iops = {
245 .lookup = erofs_lookup,
246 .getattr = erofs_getattr,
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2017-2018 HUAWEI, Inc.
4 * http://www.huawei.com/
5 * Created by Gao Xiang <gaoxiang25@huawei.com>
6 */
7#include "xattr.h"
8

--- 230 unchanged lines hidden (view full) ---

239 inode = erofs_iget(dir->i_sb, nid, d_type == FT_DIR);
240 }
241 return d_splice_alias(inode, dentry);
242}
243
244const struct inode_operations erofs_dir_iops = {
245 .lookup = erofs_lookup,
246 .getattr = erofs_getattr,
247#ifdef CONFIG_EROFS_FS_XATTR
248 .listxattr = erofs_listxattr,
247 .listxattr = erofs_listxattr,
249#endif
250 .get_acl = erofs_get_acl,
251};
252
248 .get_acl = erofs_get_acl,
249};
250