commit | 5a519bead49938aa0e3086bc753930d610fbd705 | [log] [tgz] |
---|---|---|
author | Steve French <stfrench@microsoft.com> | Sat Sep 15 14:07:09 2018 -0500 |
committer | Steve French <stfrench@microsoft.com> | Tue Oct 23 21:16:04 2018 -0500 |
tree | b918add3eb0344a338b749e3f089e9ac44e02bb6 | |
parent | 2c887635cd6ab3af619dc2be94e5bf8f2e172b78 [diff] |
cifs: protect against server returning invalid file system block size For a network file system we generally prefer large i/o, but if the server returns invalid file system block/sector sizes in cifs (vers=1.0) QFSInfo then set block size to a default of a reasonable minimum (4K). Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com>