cifs: add support for SEEK_DATA and SEEK_HOLE
authorRonnie Sahlberg <lsahlber@redhat.com>
Tue, 14 May 2019 21:17:02 +0000 (07:17 +1000)
committerSteve French <stfrench@microsoft.com>
Thu, 16 May 2019 03:27:53 +0000 (22:27 -0500)
commitdece44e381ab4a9fd1021db45ba4472e8c85becb
tree0acf0893d4a05cfb0045df758cf47a4bddd070d1
parent9ab70ca653307771589e1414102c552d8dbdbbef
cifs: add support for SEEK_DATA and SEEK_HOLE

Add llseek op for SEEK_DATA and SEEK_HOLE.
Improves xfstests/285,286,436,445,448 and 490

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