commit | 64bd577ea0021f5903505de061b3b7d8a785ee94 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jun 20 22:35:05 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Jun 28 17:20:43 2012 -0400 |
tree | 7081480d903325bb82d2384b69cff4579f289de1 | |
parent | c337d3655ce85e12c7c476cb81406521926cacd2 [diff] |
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>