cifs: Remove explicit handling of IO_REPARSE_TAG_MOUNT_POINT in inode.c
authorPali Rohár <pali@kernel.org>
Thu, 3 Oct 2024 18:51:00 +0000 (20:51 +0200)
committerSteve French <stfrench@microsoft.com>
Wed, 9 Apr 2025 20:37:20 +0000 (15:37 -0500)
IO_REPARSE_TAG_MOUNT_POINT is just a specific case of directory Name
Surrogate reparse point. As reparse_info_to_fattr() already handles all
directory Name Surrogate reparse point (done by the previous change),
there is no need to have explicit case for IO_REPARSE_TAG_MOUNT_POINT.

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

index 9b56198..33d699c 100644 (file)
@@ -1203,10 +1203,6 @@ static int reparse_info_to_fattr(struct cifs_open_info_data *data,
                        goto out;
                }
                break;
-       case IO_REPARSE_TAG_MOUNT_POINT:
-               cifs_create_junction_fattr(fattr, sb);
-               rc = 0;
-               goto out;
        default:
                /* Check for cached reparse point data */
                if (data->symlink_target || data->reparse.buf) {