diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-11-25 23:55:08 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-07 15:46:06 -0600 |
commit | 3ded18a9e9d22a9cba8acad24b77a87851f9c9fa (patch) | |
tree | 0c6e149a3df8e73462b3f09cdb61cd8a950f4f2f /fs/smb/client/smb2proto.h | |
parent | 514d793e27a310eb26b112c1f8f1a160472907e5 (diff) |
smb: client: cleanup smb2_query_reparse_point()
Use smb2_compound_op() with SMB2_OP_GET_REPARSE to get reparse point.
Signed-off-by: Paulo Alcantara (SUSE) <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 efa2f8fe2344..1e20f87a5f58 100644 --- a/fs/smb/client/smb2proto.h +++ b/fs/smb/client/smb2proto.h @@ -62,6 +62,12 @@ struct inode *smb2_get_reparse_inode(struct cifs_open_info_data *data, struct cifs_tcon *tcon, const char *full_path, struct kvec *iov); +int smb2_query_reparse_point(const unsigned int xid, + struct cifs_tcon *tcon, + struct cifs_sb_info *cifs_sb, + const char *full_path, + u32 *tag, struct kvec *rsp, + int *rsp_buftype); int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, |