]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/btrfs/inode.c
new helper: inode_unhashed()
[mirror_ubuntu-zesty-kernel.git] / fs / btrfs / inode.c
index c03864406af3ed49b66599fc1cdace0b2bbd2e22..f6f2a0da2695fd38261b0b1cae320e7bd1563064 100644 (file)
@@ -3849,7 +3849,7 @@ again:
        p = &root->inode_tree.rb_node;
        parent = NULL;
 
-       if (hlist_unhashed(&inode->i_hash))
+       if (inode_unhashed(inode))
                return;
 
        spin_lock(&root->inode_lock);