cifs: add support for FALLOC_FL_COLLAPSE_RANGE
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 26 Mar 2021 19:52:29 +0000 (05:52 +1000)
committerSteve French <stfrench@microsoft.com>
Sun, 25 Apr 2021 21:28:24 +0000 (16:28 -0500)
commit5476b5dd82c8bb9d0dd426f96575ae656cede140
treee46727ed7421f440f88f76a7e137a25bebce1537
parentf6d2353a50aecd00e73fa3c7b20c50fd9af67b21
cifs: add support for FALLOC_FL_COLLAPSE_RANGE

Emulated for SMB3 and later via server side copy
and setsize. Eventually this could be compounded.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c