diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2019-05-15 07:17:02 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-05-15 22:27:53 -0500 |
commit | dece44e381ab4a9fd1021db45ba4472e8c85becb (patch) | |
tree | 0acf0893d4a05cfb0045df758cf47a4bddd070d1 /fs/cifs/cifsglob.h | |
parent | 9ab70ca653307771589e1414102c552d8dbdbbef (diff) | |
download | linux-dece44e381ab4a9fd1021db45ba4472e8c85becb.tar.bz2 |
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>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 33c251b408aa..334ff5f9c3f3 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -497,6 +497,8 @@ struct smb_version_operations { /* version specific fiemap implementation */ int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *, struct fiemap_extent_info *, u64, u64); + /* version specific llseek implementation */ + loff_t (*llseek)(struct file *, struct cifs_tcon *, loff_t, int); }; struct smb_version_values { |