diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-11-21 20:12:53 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-11-23 11:44:42 -0600 |
commit | 539aad7f14dab7f947e5ab81901c0b20513a50db (patch) | |
tree | f1e4738f8ea64c6dd8590f6aa0577f1e6734d757 /fs/smb/client/cifsglob.h | |
parent | ed3e0a149b58ea8cfd10cc4f7cefb39877ff07ac (diff) | |
download | lwn-539aad7f14dab7f947e5ab81901c0b20513a50db.tar.gz lwn-539aad7f14dab7f947e5ab81901c0b20513a50db.zip |
smb: client: introduce ->parse_reparse_point()
Parse reparse point into cifs_open_info_data structure and feed it
through cifs_open_info_to_fattr().
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r-- | fs/smb/client/cifsglob.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index 6ffbd81bd109..111daa4ff261 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -395,8 +395,7 @@ struct smb_version_operations { struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, - char **target_path, - struct kvec *rsp_iov); + char **target_path); /* open a file for non-posix mounts */ int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, void *buf); @@ -551,6 +550,9 @@ struct smb_version_operations { bool (*is_status_io_timeout)(char *buf); /* Check for STATUS_NETWORK_NAME_DELETED */ bool (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv); + int (*parse_reparse_point)(struct cifs_sb_info *cifs_sb, + struct kvec *rsp_iov, + struct cifs_open_info_data *data); }; struct smb_version_values { |