diff options
author | Chuck Lever | 2005-12-01 00:08:17 +0100 |
---|---|---|
committer | Trond Myklebust | 2006-01-06 20:58:47 +0100 |
commit | ce1a8e6796150233f5098100f70217521dc7c08f (patch) | |
tree | 439d2abd246e051c43d1cdb7ee3b77b8864fd2b3 /fs/fifo.c | |
parent | NFSv4: Remove requirement for machine creds for the "setclientid" operation (diff) | |
download | kernel-qcow2-linux-ce1a8e6796150233f5098100f70217521dc7c08f.tar.gz kernel-qcow2-linux-ce1a8e6796150233f5098100f70217521dc7c08f.tar.xz kernel-qcow2-linux-ce1a8e6796150233f5098100f70217521dc7c08f.zip |
NFS: use generic_write_checks() to sanity check direct writes
Replace ad hoc write parameter sanity checking in nfs_file_direct_write()
with a call to generic_write_checks(). This should make the proper checks
modulo the O_LARGEFILE flag, and should catch NFSv2-specific limitations by
virtue of i_sb->s_maxbytes.
Test plan:
Posix compliance testing with both NFSv2 and NFSv3.
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/fifo.c')
0 files changed, 0 insertions, 0 deletions