projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add -ul option for limiting user pool size.
[pintos-anon]
/
src
/
filesys
/
filesys.c
diff --git
a/src/filesys/filesys.c
b/src/filesys/filesys.c
index 59212ca774f3cf64e3878d82a593216bf294101d..05df4cef911ce96547c4b9377b8338095b810de7 100644
(file)
--- a/
src/filesys/filesys.c
+++ b/
src/filesys/filesys.c
@@
-166,7
+166,7
@@
filesys_create (const char *name, off_t initial_size)
if (free_map == NULL)
goto done;
bitmap_read (free_map, free_map_file);
if (free_map == NULL)
goto done;
bitmap_read (free_map, free_map_file);
- inode_sector = bitmap_
find_and_set (free_map
);
+ inode_sector = bitmap_
scan_and_flip (free_map, 0, 1, false
);
if (inode_sector == BITMAP_ERROR)
goto done;
if (inode_sector == BITMAP_ERROR)
goto done;