NFS: Fix error handling in __nfs_pageio_add_request
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:38:15 +0000 (11:38 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 16:12:26 +0000 (12:12 -0400)
commitc1109558ae0f07a3434357cd26203bfc7adfea75
tree80e443d1c539933a99a05733b18a2937c7a25c1f
parentc6c8fe79a83e1a03e5dd83d0bac178d6ba5ef30a
NFS: Fix error handling in __nfs_pageio_add_request

Handle the case where nfs_create_request() returns an error.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pagelist.c