projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move PF_* from exception.c to exception.h, because some students may
[pintos-anon]
/
src
/
filesys
/
inode.c
diff --git
a/src/filesys/inode.c
b/src/filesys/inode.c
index 98dd36a1a9e5c62a537b2316d3b67bcd753f796d..777138b10f479530cb3daed59c5b331e2af1050a 100644
(file)
--- a/
src/filesys/inode.c
+++ b/
src/filesys/inode.c
@@
-162,7
+162,7
@@
inode_close (struct inode *inode)
{
/* Remove from inode list and release lock. */
list_remove (&inode->elem);
{
/* Remove from inode list and release lock. */
list_remove (&inode->elem);
-
+
/* Deallocate blocks if removed. */
if (inode->removed)
{
/* Deallocate blocks if removed. */
if (inode->removed)
{