pm: Track the fs_file instead of the inode/blockdev
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 20 Mar 2018 19:53:11 +0000 (15:53 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:33:44 +0000 (14:33 -0400)
commit8bb3ea8143891d840ca28e91e85f4265356db16a
tree752b51357485ac6009082cfe5f4ed218ffc4f62d
parent6fcefa2e1ec7c4c8714823566b88486d9e1c0144
pm: Track the fs_file instead of the inode/blockdev

This is somewhat left over from the VFS removal.  The 9ns devices (ramfs)
were just zeroing memory, so they didn't care.  But we'll eventually need
the actual fs_file.

The PM code needs a much bigger overhaul, but this is the minimum to get
things working.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/pagemap.h
kern/src/pagemap.c