Skip to content

Commit

Permalink
NFS: put open context on error in nfs_pagein_multi
Browse files Browse the repository at this point in the history
Cc: <stable@vger.kernel.org>
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Fred Isaman authored and Trond Myklebust committed Apr 20, 2012
1 parent 451146b commit 73fb7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static int nfs_pagein_multi(struct nfs_pageio_descriptor *desc, struct list_head
while (!list_empty(res)) {
data = list_entry(res->next, struct nfs_read_data, list);
list_del(&data->list);
nfs_readdata_free(data);
nfs_readdata_release(data);
}
nfs_readpage_release(req);
return -ENOMEM;
Expand Down

0 comments on commit 73fb7bc

Please sign in to comment.