[PATCH 0/4] cifs: Handle all name surrogate reparse points

From: Pali Rohár
Date: Sun Dec 22 2024 - 09:59:49 EST


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

If the name surrogate reparse point is not handled by Linux SMB client
and it is of directory type then treat it as a new mount point.

Cleanup code for all explicit surrogate reparse points (like reparse
points with tag IO_REPARSE_TAG_MOUNT_POINT) as they are handled by
generic name surrogate reparse point code.

Pali Rohár (4):
cifs: Throw -EOPNOTSUPP error on unsupported reparse point type from
parse_reparse_point()
cifs: Treat unhandled directory name surrogate reparse points as mount
directory nodes
cifs: Remove explicit handling of IO_REPARSE_TAG_MOUNT_POINT in
inode.c
cifs: Improve handling of name surrogate reparse points in reparse.c

fs/smb/client/inode.c | 17 +++++++++++++----
fs/smb/client/reparse.c | 24 ++++++++++--------------
fs/smb/common/smbfsctl.h | 3 +++
3 files changed, 26 insertions(+), 18 deletions(-)

--
2.20.1