diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2014-09-26 21:58:27 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-09-29 22:35:20 +0400 |
commit | 24bab491220faa446d945624086d838af41d616c (patch) | |
tree | e5954e85fe1cfa6fb138d5c660fae8e733527f1a /include/linux | |
parent | 87a15a8090c0e5284c0e53528d9defa5d9237866 (diff) | |
download | linux-24bab491220faa446d945624086d838af41d616c.tar.xz |
NFSD: Implement SEEK
This patch adds server support for the NFS v4.2 operation SEEK, which
returns the position of the next hole or data segment in a file.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs4.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index cf38224c4fa0..026b0c042c40 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h @@ -550,4 +550,9 @@ struct nfs4_deviceid { char data[NFS4_DEVICEID4_SIZE]; }; +enum data_content4 { + NFS4_CONTENT_DATA = 0, + NFS4_CONTENT_HOLE = 1, +}; + #endif |