diff options
author | Paulo Alcantara <pc@manguebit.com> | 2024-03-05 23:28:48 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-03-10 19:33:57 -0500 |
commit | c520ba7573a84bd37f8803a3beeb8f6f995bf9e1 (patch) | |
tree | ecbe4f51a084a44bddc535aeaf61e19ff7a43ad1 /fs/smb/client/smb2proto.h | |
parent | eb90e8ecb2b54ac1af51e28596e0ef7ba351476d (diff) |
smb: client: move most of reparse point handling code to common file
In preparation to add support for creating special files also via WSL
reparse points in next commits.
Signed-off-by: Paulo Alcantara <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/smb2proto.h')
-rw-r--r-- | fs/smb/client/smb2proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/smb/client/smb2proto.h b/fs/smb/client/smb2proto.h index 221143788a1c..64a0ef0409a6 100644 --- a/fs/smb/client/smb2proto.h +++ b/fs/smb/client/smb2proto.h @@ -310,5 +310,11 @@ int smb311_posix_query_path_info(const unsigned int xid, int posix_info_parse(const void *beg, const void *end, struct smb2_posix_info_parsed *out); int posix_info_sid_size(const void *beg, const void *end); +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_make_nfs_node(unsigned int xid, struct inode *inode, + struct dentry *dentry, struct cifs_tcon *tcon, + const char *full_path, umode_t mode, dev_t dev); #endif /* _SMB2PROTO_H */ |