From: Fred Isaman Date: Fri, 20 Apr 2012 18:47:34 +0000 (-0400) Subject: NFS: put open context on error in nfs_pagein_multi X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=73fb7bc7c57d971b11f2e00536ac2d3e316e0609;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git NFS: put open context on error in nfs_pagein_multi Cc: Signed-off-by: Fred Isaman Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/read.c b/fs/nfs/read.c index 9a0e8ef4a40..0a4be28c2ea 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c @@ -322,7 +322,7 @@ out_bad: 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;