]> err.no Git - linux-2.6/blobdiff - fs/binfmt_elf_fdpic.c
[S390] cio: Allow 0 and 1 as input for channel path status attribute.
[linux-2.6] / fs / binfmt_elf_fdpic.c
index 47d6d49d1fb9c393328adb82cd725b67f770aede..f3ddca4a387b43f817b83ae85cd7aaf44b1c7398 100644 (file)
@@ -1480,8 +1480,8 @@ static int elf_fdpic_dump_segments(struct file *file, struct mm_struct *mm,
                                DUMP_SEEK(file->f_pos + PAGE_SIZE);
                        }
                        else if (page == ZERO_PAGE(addr)) {
-                               DUMP_SEEK(file->f_pos + PAGE_SIZE);
                                page_cache_release(page);
+                               DUMP_SEEK(file->f_pos + PAGE_SIZE);
                        }
                        else {
                                void *kaddr;