Skip to content
Snippets Groups Projects
Commit 67a70017 authored by Al Viro's avatar Al Viro
Browse files

ufs: we need to sync inode before freeing it


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent babef37d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment