public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ee486
)
devio: note FIXME on device close
author
Alan Cox
<alan@linux.intel.com>
Sun, 4 Jan 2015 17:34:40 +0000
(17:34 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 4 Jan 2015 17:34:40 +0000
(17:34 +0000)
Kernel/devio.c
patch
|
blob
|
history
diff --git
a/Kernel/devio.c
b/Kernel/devio.c
index
c1ca6ee
..
ce8d53d
100644
(file)
--- a/
Kernel/devio.c
+++ b/
Kernel/devio.c
@@
-257,6
+257,9
@@
int d_open(uint16_t dev, uint8_t flag)
}
+/* FIXME: on the last close we ought to flush/invalidate any bufs
+ for this device so we can support swapping between media properly
+ (right now the cache is so small it happens to work...) */
int d_close(uint16_t dev)
{
if (!validdev(dev))