kernel-hacking-2024-linux-s.../fs/nfs
Trond Myklebust 64bd577ea0 NFS: Let xdr_read_pages() check for buffer overflows
xdr_read_pages will already do all of the buffer overflow checks that are
currently being open-coded in the various callers. This patch simplifies
the existing code by replacing the open coded checks.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-06-28 17:20:43 -04:00
..
blocklayout NFS: Use proper naming conventions for the nfs_client.net field 2012-05-22 16:45:44 -04:00
objlayout
cache_lib.c
cache_lib.h
callback.c NFS: hard-code init_net for NFS callback transports 2012-06-14 13:53:43 -04:00
callback.h
callback_proc.c
callback_xdr.c NFS: add an endian notation for sparse 2012-06-12 09:54:40 -04:00
client.c NFSv4.1: Fix umount when filelayout DS is also the MDS 2012-06-18 08:45:16 -04:00
delegation.c
delegation.h
dir.c nfs: don't open in ->d_revalidate 2012-06-01 12:12:02 -04:00
direct.c NFS: Fix a refcounting issue in O_DIRECT 2012-06-19 18:42:14 -04:00
dns_resolve.c
dns_resolve.h
file.c nfs: don't open in ->d_revalidate 2012-06-01 12:12:02 -04:00
fscache-index.c
fscache.c
fscache.h
getroot.c
idmap.c NFS: Force the legacy idmapper to be single threaded 2012-06-20 14:38:11 -04:00
inode.c NFS: Initialise commit_info.rpc_out when !defined(CONFIG_NFS_V4) 2012-06-19 18:42:28 -04:00
internal.h NFS: Ensure that setattr and getattr wait for O_DIRECT write completion 2012-05-31 11:41:36 -07:00
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c
netns.h NFS: Always use the same SETCLIENTID boot verifier 2012-05-22 16:45:46 -04:00
nfs2xdr.c NFS: Let xdr_read_pages() check for buffer overflows 2012-06-28 17:20:43 -04:00
nfs3acl.c
nfs3proc.c NFS client updates for Linux 3.5 2012-05-29 10:43:51 -07:00
nfs3xdr.c NFS: Let xdr_read_pages() check for buffer overflows 2012-06-28 17:20:43 -04:00
nfs4_fs.h NFSv4: Fix an Oops in the open recovery code 2012-06-05 10:00:14 -04:00
nfs4filelayout.c NFSv4.1: Handle other occurrences of NFS4ERR_CONN_NOT_BOUND_TO_SESSION 2012-05-27 14:33:07 -04:00
nfs4filelayout.h
nfs4filelayoutdev.c NFSv4.1: Fix session initialisation races 2012-05-23 15:20:57 -04:00
nfs4namespace.c
nfs4proc.c NFSv4 do not send an empty SETATTR compound 2012-06-11 17:25:53 -04:00
nfs4renewd.c NFS: Add NFSDBG_STATE 2012-05-22 16:45:42 -04:00
nfs4state.c NFSv4.1: Ensure we clear session state flags after a session creation 2012-06-05 10:22:14 -04:00
nfs4xdr.c NFS: Let xdr_read_pages() check for buffer overflows 2012-06-28 17:20:43 -04:00
nfsroot.c
pagelist.c
pnfs.c NFSv4.1: Fix a race in set_pnfs_layoutdriver 2012-06-19 13:32:45 -04:00
pnfs.h NFS4: Fix open bug when pnfs module blacklisted 2012-06-07 13:44:24 -04:00
pnfs_dev.c
proc.c NFSv2: EOF incorrectly set on short read 2012-06-11 17:25:00 -04:00
read.c NFSv4.1 add nfs_inode book keeping for mdsthreshold 2012-05-24 16:15:48 -04:00
super.c NFS: Use the NFS_DEFAULT_VERSION for v2 and v3 mounts 2012-06-09 14:38:59 -04:00
symlink.c
sysctl.c
unlink.c
write.c NFS: Fix a commit bug 2012-06-05 18:38:47 -04:00