mbox series

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

Message ID 20241222145845.23801-1-pali@kernel.org (mailing list archive)
Headers show
Series cifs: Handle all name surrogate reparse points | expand

Message

Pali Rohár Dec. 22, 2024, 2:58 p.m. UTC
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(-)