提交 67a70017 编写于 作者: A Al Viro

ufs: we need to sync inode before freeing it

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 babef37d
......@@ -848,6 +848,7 @@ void ufs_evict_inode(struct inode * inode)
(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
S_ISLNK(inode->i_mode)))
ufs_truncate_blocks(inode);
ufs_update_inode(inode, inode_needs_sync(inode));
}
invalidate_inode_buffers(inode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册