Changeset 1061
- Timestamp:
- 10/03/08 12:18:51 (3 months ago)
- Location:
- Whitix/branches/keobject/fs/vfs
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/keobject/fs/vfs/bcache.c
r966 r1061 22 22 #include <slab.h> 23 23 #include <llist.h> 24 #include <request.h>25 #include <malloc.h>26 24 #include <sched.h> 27 25 #include <wait.h> … … 31 29 #include <print.h> 32 30 #include <locks.h> 31 #include <request.h> 32 #include <devices/sdevice.h> 33 33 34 34 /* Speed this all up. It's quite a dumb cache at the moment. Readahead? */ -
Whitix/branches/keobject/fs/vfs/file.c
r881 r1061 25 25 #include <print.h> 26 26 #include <module.h> 27 #include <devices/sdevice.h> 27 28 #include <spinlock.h> 28 29 … … 114 115 struct Buffer* buff; 115 116 int res; 116 int bytesPerSec= file->vNode->superBlock->sDevice->softBlockSize;117 int bytesPerSec=BYTES_PER_SECTOR(file->vNode->superBlock); 117 118 struct VNode* vNode=file->vNode; 118 119 … … 291 292 if (file->fileOps && file->fileOps->open) 292 293 { 294 ModuleSymbolPrint(file->fileOps->open); 293 295 err=file->fileOps->open(file); 294 296 if (err) -
Whitix/branches/keobject/fs/vfs/super.c
r881 r1061 22 22 #include <module.h> 23 23 #include <error.h> 24 #include < sdevice.h>24 #include <devices/sdevice.h> 25 25 #include <task.h> 26 26 #include <fs/devfs.h> -
Whitix/branches/keobject/fs/vfs/vcache.c
r967 r1061 33 33 #include <print.h> 34 34 #include <task.h> 35 #include <devices/sdevice.h> 35 36 36 37 struct Cache* vNodeCache; … … 326 327 { 327 328 KePrint("VNodeRelease: Trying to free free vNode (%#X on %s)\n", 328 vNode->id, KeDeviceGetName(&superBlock->sDevice->device));329 vNode->id, StorageDeviceGetName(superBlock->sDevice)); 329 330 return; 330 331 } -
Whitix/branches/keobject/fs/vfs/vnode.c
r928 r1061 304 304 return -ENOTIMPL; 305 305 306 blockSize= vNode->superBlock->sDevice->softBlockSize;306 blockSize=BYTES_PER_SECTOR(vNode->superBlock); 307 307 308 308 IrqSaveFlags(flags);