diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2014-11-25 21:18:15 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-11-26 00:38:32 +0300 |
commit | f4ac1674f5da420ef17896f0f222c5215ebcde80 (patch) | |
tree | 5ad22eac7b8ef584ce1b39b618aeb0b242dcccb7 /fs/nfs/nfs42.h | |
parent | e9f456ca50e579dfacd996f50637f0bb0a585dfc (diff) | |
download | linux-f4ac1674f5da420ef17896f0f222c5215ebcde80.tar.xz |
nfs: Add ALLOCATE support
This patch adds support for using the NFS v4.2 operation ALLOCATE to
preallocate data in a file.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs42.h')
-rw-r--r-- | fs/nfs/nfs42.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs42.h b/fs/nfs/nfs42.h index d10333a197bf..42656a9cf485 100644 --- a/fs/nfs/nfs42.h +++ b/fs/nfs/nfs42.h @@ -6,6 +6,7 @@ #define __LINUX_FS_NFS_NFS4_2_H /* nfs4.2proc.c */ +int nfs42_proc_allocate(struct file *, loff_t, loff_t); loff_t nfs42_proc_llseek(struct file *, loff_t, int); /* nfs4.2xdr.h */ |