summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/cifsproto.h
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2023-08-17 12:34:06 -0300
committerSteve French <stfrench@microsoft.com>2023-08-20 16:05:50 -0500
commit5f71ebc412944908c9780cca5acc9170385b6e77 (patch)
tree2050b640843c42b31cf900d267257bd51fd323c5 /fs/smb/client/cifsproto.h
parent348a04a8d1138c2569549d6f9a3816e3e7513321 (diff)
downloadlinux-stable-5f71ebc412944908c9780cca5acc9170385b6e77.tar.gz
linux-stable-5f71ebc412944908c9780cca5acc9170385b6e77.tar.bz2
linux-stable-5f71ebc412944908c9780cca5acc9170385b6e77.zip
smb: client: parse reparse point flag in create response
Check for reparse point flag on query info calls as specified in MS-SMB2 2.2.14. Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifsproto.h')
-rw-r--r--fs/smb/client/cifsproto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/smb/client/cifsproto.h b/fs/smb/client/cifsproto.h
index 694d16acdf61..7d8035846680 100644
--- a/fs/smb/client/cifsproto.h
+++ b/fs/smb/client/cifsproto.h
@@ -207,6 +207,9 @@ extern struct inode *cifs_iget(struct super_block *sb,
int cifs_get_inode_info(struct inode **inode, const char *full_path,
struct cifs_open_info_data *data, struct super_block *sb, int xid,
const struct cifs_fid *fid);
+bool cifs_reparse_point_to_fattr(struct cifs_sb_info *cifs_sb,
+ struct cifs_fattr *fattr,
+ u32 tag);
extern int smb311_posix_get_inode_info(struct inode **pinode, const char *search_path,
struct super_block *sb, unsigned int xid);
extern int cifs_get_inode_info_unix(struct inode **pinode,