summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2022-04-13 10:01:36 +0900
committerSteve French <stfrench@microsoft.com>2022-04-14 20:56:13 -0500
commit02655a70b7cc0f534531ee65fa72692f4d31a944 (patch)
treeefdb532efcbb4cca7436024e156ccd9702951ea4 /crypto
parent8510a043d334ecdf83d4604782f288db6bf21d60 (diff)
downloadlinux-02655a70b7cc0f534531ee65fa72692f4d31a944.tar.bz2
ksmbd: set fixed sector size to FS_SECTOR_SIZE_INFORMATION
Currently ksmbd is using ->f_bsize from vfs_statfs() as sector size. If fat/exfat is a local share, ->f_bsize is a cluster size that is too large to be used as a sector size. Sector sizes larger than 4K cause problem occurs when mounting an iso file through windows client. The error message can be obtained using Mount-DiskImage command, the error is: "Mount-DiskImage : The sector size of the physical disk on which the virtual disk resides is not supported." This patch reports fixed 4KB sector size if ->s_blocksize is bigger than 4KB. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions