Refactor mmap system call code to follow pintos style in indentation
This commit is contained in:
@@ -87,6 +87,7 @@ mmap_unmap (struct mmap_entry *mmap)
|
|||||||
hash_delete (&thread_current ()->pages, &page->elem);
|
hash_delete (&thread_current ()->pages, &page->elem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Close the file and free the mmap entry. */
|
||||||
file_close (mmap->file);
|
file_close (mmap->file);
|
||||||
free (mmap);
|
free (mmap);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user