Input: gpio_keys[_polled] - change name of wakeup property
[firefly-linux-kernel-4.4.55.git] / fs / inode.c
index 648e71ce6ec216358e6733c2d6e0141c3d90c6f6..d30640f7a193879d07f4ff2c12efe3b817a386f3 100644 (file)
@@ -224,6 +224,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);