]> www.infradead.org Git - users/willy/pagecache.git/commit
cifs: Treat unhandled directory name surrogate reparse points as mount directory...
authorPali Rohár <pali@kernel.org>
Tue, 17 Sep 2024 22:28:25 +0000 (00:28 +0200)
committerSteve French <stfrench@microsoft.com>
Wed, 19 Feb 2025 16:42:27 +0000 (10:42 -0600)
commitb587fd128660d48cd2122f870f720ff8e2b4abb3
tree09f4fbda0c8ea9b3e7beee75dcb145e7800bd9f8
parentcad3fc0a4c8cef07b07ceddc137f582267577250
cifs: Treat unhandled directory name surrogate reparse points as mount directory nodes

If the reparse point was not handled (indicated by the -EOPNOTSUPP from
ops->parse_reparse_point() call) but reparse tag is of type name surrogate
directory type, then treat is as a new mount point.

Name surrogate reparse point represents another named entity in the system.

From SMB client point of view, this another entity is resolved on the SMB
server, and server serves its content automatically. Therefore from Linux
client point of view, this name surrogate reparse point of directory type
crosses mount point.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/inode.c
fs/smb/common/smbfsctl.h