Skip to content
Commit 64bd577e authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent c337d365
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment