]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit95d871f03cae6b49de040265cf88cbe2a16b9f05
tree911d8bed4226e4e87e1411145c7fe0e275dea545
parent72c72bdf7bf53353d2d8e055194d27f0128be92b
nfsd: Add ALLOCATE support

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>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h
fs/nfsd/xdr4.h