smb3: add mount parm nosparse
authorSteve French <stfrench@microsoft.com>
Tue, 24 May 2022 04:17:12 +0000 (23:17 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 24 May 2022 04:32:54 +0000 (23:32 -0500)
commit52832252dded19e291a7b8842542ea61d1765f2f
tree9a2ab14df21cbb17034aa627317abedd23b4109b
parent9ccfc23a72b669678e4c9ccba98d3d91db1c04cf
smb3: add mount parm nosparse

To reduce risk of applications breaking that mount to servers
with only partial sparse file support, add optional mount parm
"nosparse" which disables setting files sparse (and thus
will return EOPNOTSUPP on certain fallocate operations).

Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c
fs/cifs/cifsfs.c
fs/cifs/connect.c
fs/cifs/fs_context.c
fs/cifs/fs_context.h