btrfs: assert on non-empty delayed iputs
authorJosef Bacik <josef@toxicpanda.com>
Fri, 28 Sep 2018 11:18:03 +0000 (07:18 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:39 +0000 (17:23 +0200)
commite187831e1875b2754a3ba3c683bd277d4a5f7be8
tree373b8e5c1763441005ef19c6b443e3762ee9418c
parent545e3366db823dc3342ca9d7fea803f829c9062f
btrfs: assert on non-empty delayed iputs

I ran into an issue where there was some reference being held on an
inode that I couldn't track.  This assert wasn't triggered, but it at
least rules out we're doing something stupid.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c