author: Tejun Heo <tj@kernel.org> 2015-05-22 17:13:37 -0400
committer: Jens Axboe <axboe@fb.com> 2015-06-02 08:33:35 -0600
commit: 52ebea749aaed195245701a8f90a23d672c7a933
parent: 89e9b9e07a390c50980d10aa37a04631db5a23ab
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/inode.c b/fs/inode.c
index ea37cd17b53f..efc9edacfb9b 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -223,6 +223,7 @@ EXPORT_SYMBOL(free_inode_nonrcu);
void __destroy_inode(struct inode *inode)
{
BUG_ON(inode_has_buffers(inode));
+ inode_detach_wb(inode);
security_inode_free(inode);
fsnotify_inode_delete(inode);
locks_free_lock_context(inode->i_flctx);