linux/fs/nfs
Chuck Lever ce1a8e6796 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>
2006-01-06 14:58:47 -05:00
..
callback_proc.c [PATCH] NFS: Header file cleanup... 2005-06-22 16:07:06 -04:00
callback_xdr.c [PATCH] NFSv4: Fix an Oops in the callback code. 2005-06-22 16:07:29 -04:00
callback.c [INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.h 2006-01-03 13:11:21 -08:00
callback.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
delegation.c NFSv4: Send RENEW requests to the server only when we're holding state 2006-01-06 14:58:46 -05:00
delegation.h NFSv4: Send RENEW requests to the server only when we're holding state 2006-01-06 14:58:46 -05:00
dir.c NFS: Fix post-op attribute revalidation... 2005-12-03 15:20:17 -05:00
direct.c NFS: use generic_write_checks() to sanity check direct writes 2006-01-06 14:58:47 -05:00
file.c [PATCH] fix posix lock on NFS 2005-12-22 09:24:05 -08:00
idmap.c Revert "[PATCH] RPC,NFS: new rpc_pipefs patch" 2005-09-23 12:39:00 -04:00
inode.c NFSv4: Remove requirement for machine creds for the "setclientid" operation 2006-01-06 14:58:47 -05:00
Makefile [PATCH] NFS: Add support for NFSv3 ACLs 2005-06-22 16:07:24 -04:00
mount_clnt.c [PATCH] RPC: Make rpc_create_client() destroy the transport on failure. 2005-06-22 16:07:03 -04:00
nfs2xdr.c NFS: Optimise inode attribute cache updates 2005-10-27 22:12:39 -04:00
nfs3acl.c [PATCH] NFS: Introduce the use of inode->i_lock to protect fields in nfsi 2005-08-18 12:53:57 -07:00
nfs3proc.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
nfs3xdr.c NFS: Optimise inode attribute cache updates 2005-10-27 22:12:39 -04:00
nfs4_fs.h NFSv4: Remove requirement for machine creds for the "setclientid" operation 2006-01-06 14:58:47 -05:00
nfs4proc.c NFSv4: Remove requirement for machine creds for the "setclientid" operation 2006-01-06 14:58:47 -05:00
nfs4renewd.c NFSv4: Remove requirement for machine creds for the "renew" operation 2006-01-06 14:58:47 -05:00
nfs4state.c NFSv4: Remove requirement for machine creds for the "setclientid" operation 2006-01-06 14:58:47 -05:00
nfs4xdr.c NFSv4: Convert LOCK rpc call into an asynchronous RPC call 2006-01-06 14:58:44 -05:00
nfsroot.c [PATCH] NFS: Add support for NFSv3 ACLs 2005-06-22 16:07:24 -04:00
pagelist.c [PATCH] NFS: Replace nfs_page insertion sort with a radix sort 2005-06-22 16:07:39 -04:00
proc.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
read.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
symlink.c Fix nasty ncpfs symlink handling bug. 2005-08-19 18:02:56 -07:00
unlink.c SUNRPC: Further cleanups 2006-01-06 14:58:40 -05:00
write.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00