diff options
author | Nathan Benavides-Luu <nate1299@me.com> | 2024-04-01 12:57:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 12:57:03 -0400 |
commit | 6ddcbbd59f0a04eee2b163930fc86d74dd2434ec (patch) | |
tree | ac055d6005ac81bde8100cec8842faf125db5b03 /kernel/mm/mobj.c | |
parent | 7a684c5fb743d1e03d59db49fe283cfd4b0439a6 (diff) |
S5 Fixes (#6)
* S5 Fixes
* Remove #ifdef OLD
* Fix comments for s5_get_disk_block
* Add info for newp return parameter
* Add stencil comment to s5_file_block_to_disk_block
* Remove ifdefno
---------
Co-authored-by: Ayma-n <aymanbt14@gmail.com>
Diffstat (limited to 'kernel/mm/mobj.c')
-rw-r--r-- | kernel/mm/mobj.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/mm/mobj.c b/kernel/mm/mobj.c index 4b9c80f..02aced7 100644 --- a/kernel/mm/mobj.c +++ b/kernel/mm/mobj.c @@ -122,9 +122,6 @@ long mobj_get_pframe(mobj_t *o, uint64_t pagenum, long forwrite, * Create and initialize a pframe and add it to the mobj's mo_pframes list. * Upon successful return, the pframe's pf_mutex is locked. */ -#ifdef OLD -static void mobj_create_pframe(mobj_t *o, uint64_t pagenum, pframe_t **pfp) -#endif void mobj_create_pframe(mobj_t *o, uint64_t pagenum, uint64_t loc, pframe_t **pfp) { KASSERT(kmutex_owns_mutex(&o->mo_mutex)); |