Explain why itrunc() is OK w.r.t. crashes.

This commit is contained in:
rtm 2008-10-20 18:05:48 +00:00
parent 15a2693637
commit 8eb20827c2

2
fs.c
View file

@ -359,6 +359,8 @@ bmap(struct inode *ip, uint bn, int alloc)
}
// Truncate inode (discard contents).
// Only called after the last dirent referring
// to this inode has been erased on disk.
static void
itrunc(struct inode *ip)
{