projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/disk_sector_no/disk_sector_t/g
[pintos-anon]
/
src
/
filesys
/
filesys.c
diff --git
a/src/filesys/filesys.c
b/src/filesys/filesys.c
index cae53eac492d42cea94a34b5b9da173bdb6034a3..acd712347859350b0a7ba7cdf37097e42fd96841 100644
(file)
--- a/
src/filesys/filesys.c
+++ b/
src/filesys/filesys.c
@@
-90,7
+90,7
@@
filesys_create (const char *name, off_t initial_size)
{
struct dir dir;
struct bitmap free_map;
{
struct dir dir;
struct bitmap free_map;
- disk_sector_
no
hdr_sector;
+ disk_sector_
t
hdr_sector;
struct filehdr *filehdr;
bool success = false;
struct filehdr *filehdr;
bool success = false;
@@
-139,7
+139,7
@@
bool
filesys_open (const char *name, struct file *file)
{
struct dir dir;
filesys_open (const char *name, struct file *file)
{
struct dir dir;
- disk_sector_
no
hdr_sector;
+ disk_sector_
t
hdr_sector;
bool success = false;
if (!dir_init (&dir, NUM_DIR_ENTRIES))
bool success = false;
if (!dir_init (&dir, NUM_DIR_ENTRIES))
@@
-156,7
+156,7
@@
bool
filesys_remove (const char *name)
{
struct dir dir;
filesys_remove (const char *name)
{
struct dir dir;
- disk_sector_
no
hdr_sector;
+ disk_sector_
t
hdr_sector;
struct filehdr *filehdr;
struct bitmap free_map;
bool success = false;
struct filehdr *filehdr;
struct bitmap free_map;
bool success = false;