aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/exofs/inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c
index 77d0a295eb1c..bb5d6ed0f7a8 100644
--- a/fs/exofs/inode.c
+++ b/fs/exofs/inode.c
@@ -295,6 +295,9 @@ static int read_exec(struct page_collect *pcol, bool is_sync)
295err: 295err:
296 if (!is_sync) 296 if (!is_sync)
297 _unlock_pcol_pages(pcol, ret, READ); 297 _unlock_pcol_pages(pcol, ret, READ);
298 else /* Pages unlocked by caller in sync mode only free bio */
299 pcol_free(pcol);
300
298 kfree(pcol_copy); 301 kfree(pcol_copy);
299 if (or) 302 if (or)
300 osd_end_request(or); 303 osd_end_request(or);