ntfs_fs.h (b74d24f7a74ffd2d42ca883d84b7422b8d545901) ntfs_fs.h (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 *
4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
5 *
6 */
7
8// clang-format off

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

854int ntfs_cmp_names_cpu(const struct cpu_str *uni1, const struct le_str *uni2,
855 const u16 *upcase, bool bothcase);
856unsigned long ntfs_names_hash(const u16 *name, size_t len, const u16 *upcase,
857 unsigned long hash);
858
859/* globals from xattr.c */
860#ifdef CONFIG_NTFS3_FS_POSIX_ACL
861struct posix_acl *ntfs_get_acl(struct inode *inode, int type, bool rcu);
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 *
4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
5 *
6 */
7
8// clang-format off

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

854int ntfs_cmp_names_cpu(const struct cpu_str *uni1, const struct le_str *uni2,
855 const u16 *upcase, bool bothcase);
856unsigned long ntfs_names_hash(const u16 *name, size_t len, const u16 *upcase,
857 unsigned long hash);
858
859/* globals from xattr.c */
860#ifdef CONFIG_NTFS3_FS_POSIX_ACL
861struct posix_acl *ntfs_get_acl(struct inode *inode, int type, bool rcu);
862int ntfs_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
862int ntfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
863 struct posix_acl *acl, int type);
864int ntfs_init_acl(struct user_namespace *mnt_userns, struct inode *inode,
865 struct inode *dir);
866#else
867#define ntfs_get_acl NULL
868#define ntfs_set_acl NULL
869#endif
870
863 struct posix_acl *acl, int type);
864int ntfs_init_acl(struct user_namespace *mnt_userns, struct inode *inode,
865 struct inode *dir);
866#else
867#define ntfs_get_acl NULL
868#define ntfs_set_acl NULL
869#endif
870
871int ntfs_acl_chmod(struct user_namespace *mnt_userns, struct dentry *dentry);
871int ntfs_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry);
872int ntfs_permission(struct user_namespace *mnt_userns, struct inode *inode,
873 int mask);
874ssize_t ntfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
875extern const struct xattr_handler *ntfs_xattr_handlers[];
876
877int ntfs_save_wsl_perm(struct inode *inode);
878void ntfs_get_wsl_perm(struct inode *inode);
879

--- 281 unchanged lines hidden ---
872int ntfs_permission(struct user_namespace *mnt_userns, struct inode *inode,
873 int mask);
874ssize_t ntfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
875extern const struct xattr_handler *ntfs_xattr_handlers[];
876
877int ntfs_save_wsl_perm(struct inode *inode);
878void ntfs_get_wsl_perm(struct inode *inode);
879

--- 281 unchanged lines hidden ---