nfsd: Add ALLOCATE support
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 7 Nov 2014 19:44:26 +0000 (14:44 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 7 Nov 2014 21:19:49 +0000 (16:19 -0500)
The ALLOCATE operation is used to preallocate space in a file.  I can do
this by using vfs_fallocate() to do the actual preallocation.

ALLOCATE only returns a status indicator, so we don't need to write a
special encode() function.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found