cifs: add FALLOC_FL_INSERT_RANGE support
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 26 Mar 2021 20:31:30 +0000 (06:31 +1000)
committerSteve French <stfrench@microsoft.com>
Sun, 25 Apr 2021 21:28:24 +0000 (16:28 -0500)
commit7fe6fe95b936084dce6eedcc2cccadf96eafae73
tree6faefa5b188bc0c7e637f58b25579d72b8eca80d
parent5476b5dd82c8bb9d0dd426f96575ae656cede140
cifs: add FALLOC_FL_INSERT_RANGE support

Emulated via server side copy and setsize for
SMB3 and later. In the future we could compound
this (and/or optionally use DUPLICATE_EXTENTS
if supported by the server).

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c