Skip to content

Commit 9ce7351

Browse files
paliSteve French
authored andcommitted
cifs: Remove explicit handling of IO_REPARSE_TAG_MOUNT_POINT in inode.c
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>
1 parent 16cb6b0 commit 9ce7351

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

fs/smb/client/inode.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,10 +1203,6 @@ static int reparse_info_to_fattr(struct cifs_open_info_data *data,
12031203
goto out;
12041204
}
12051205
break;
1206-
case IO_REPARSE_TAG_MOUNT_POINT:
1207-
cifs_create_junction_fattr(fattr, sb);
1208-
rc = 0;
1209-
goto out;
12101206
default:
12111207
/* Check for cached reparse point data */
12121208
if (data->symlink_target || data->reparse.buf) {

0 commit comments

Comments
 (0)