#ifndef _CIFS_REPARSE_H
#define _CIFS_REPARSE_H
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/uidgid.h>
#include "fs_context.h"
#include "cifsglob.h"
#define IO_REPARSE_TAG_INTERNAL …
static inline dev_t reparse_nfs_mkdev(struct reparse_posix_data *buf)
{ … }
static inline dev_t wsl_mkdev(void *ptr)
{ … }
static inline kuid_t wsl_make_kuid(struct cifs_sb_info *cifs_sb,
void *ptr)
{ … }
static inline kgid_t wsl_make_kgid(struct cifs_sb_info *cifs_sb,
void *ptr)
{ … }
static inline u64 reparse_mode_nfs_type(mode_t mode)
{ … }
static inline u32 reparse_mode_wsl_tag(mode_t mode)
{ … }
static inline bool reparse_inode_match(struct inode *inode,
struct cifs_fattr *fattr)
{ … }
static inline bool cifs_open_data_reparse(struct cifs_open_info_data *data)
{ … }
bool cifs_reparse_point_to_fattr(struct cifs_sb_info *cifs_sb,
struct cifs_fattr *fattr,
struct cifs_open_info_data *data);
int smb2_create_reparse_symlink(const unsigned int xid, struct inode *inode,
struct dentry *dentry, struct cifs_tcon *tcon,
const char *full_path, const char *symname);
int smb2_mknod_reparse(unsigned int xid, struct inode *inode,
struct dentry *dentry, struct cifs_tcon *tcon,
const char *full_path, umode_t mode, dev_t dev);
int smb2_parse_reparse_point(struct cifs_sb_info *cifs_sb, struct kvec *rsp_iov,
struct cifs_open_info_data *data);
#endif