Index: uspace/srv/vfs/vfs_pager.c
===================================================================
--- uspace/srv/vfs/vfs_pager.c	(revision 5a2b76513da7a027e740673c9bbd38cd3ea793fd)
+++ uspace/srv/vfs/vfs_pager.c	(revision 39c3b7f91dbc3f66d2ae203a82aa19843bd4e778)
@@ -72,4 +72,5 @@
 
 	file->pos = offset;
+	vfs_file_put(file);
 
 	size_t total = 0;
@@ -84,6 +85,4 @@
 		chunk.size = page_size - total;
 	} while (total < page_size);
-
-	vfs_file_put(file);
 
 	async_answer_1(rid, rc, (sysarg_t) page);
