projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
babef37
)
ufs: we need to sync inode before freeing it
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 10 Jun 2017 16:01:50 +0000
(12:01 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 10 Jun 2017 16:02:28 +0000
(12:02 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ufs/inode.c
b/fs/ufs/inode.c
index 34f11cf0900ab742f6ef5c33edfd8841948015e1..da553ffec85b459f0675c25033f173bbaeccb772 100644
(file)
--- a/
fs/ufs/inode.c
+++ b/
fs/ufs/inode.c
@@
-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);