Skip to content
Snippets Groups Projects
Commit 8eb20827 authored by rtm's avatar rtm
Browse files

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

parent 15a26936
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment