diff options
author | Pali Rohár <pali@kernel.org> | 2024-10-03 20:51:00 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-04-09 15:37:20 -0500 |
commit | 9ce7351291a6c64fa8dc36c786632ae5ded19bd5 (patch) | |
tree | da5620889ff870ae2331821d926d53014d3a81e1 /fs | |
parent | 16cb6b0509b65ac89187e9402e0b7a9ddf1765ef (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/smb/client/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/smb/client/inode.c b/fs/smb/client/inode.c index 9b56198f7230..33d699c5cf37 100644 --- a/fs/smb/client/inode.c +++ b/fs/smb/client/inode.c @@ -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) { |