smb: client: fix missing mode bits for SMB symlinks
authorPaulo Alcantara <pc@manguebit.com>
Sun, 26 Nov 2023 02:55:10 +0000 (23:55 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 29 Nov 2023 02:40:21 +0000 (20:40 -0600)
commitef22bb800d967616c7638d204bc1b425beac7f5f
treed9fcd653f0559a21c16772bf6eac622ddc30e936
parent2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
smb: client: fix missing mode bits for SMB symlinks

When instantiating inodes for SMB symlinks, add the mode bits from
@cifs_sb->ctx->file_mode as we already do for the other special files.

Cc: stable@vger.kernel.org
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/inode.c