mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
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>
This commit is contained in:
parent
87a15a8090
commit
24bab49122
4 changed files with 102 additions and 2 deletions
|
@ -550,4 +550,9 @@ struct nfs4_deviceid {
|
|||
char data[NFS4_DEVICEID4_SIZE];
|
||||
};
|
||||
|
||||
enum data_content4 {
|
||||
NFS4_CONTENT_DATA = 0,
|
||||
NFS4_CONTENT_HOLE = 1,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue