Btrfs: do delay iput in sync_fs
authorJosef Bacik <jbacik@fusionio.com>
Thu, 16 May 2013 15:14:33 +0000 (11:14 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 14 Jun 2013 15:29:52 +0000 (11:29 -0400)
commitc73e293678fc3ec8ee9e5e275ee77dec98c4f2f1
treea5ce0bbc6f42e9acbb46bdd516bf27297cdb230d
parent4a9d8bdee368de78ace8b36da4eb2186afea162d
Btrfs: do delay iput in sync_fs

We get lock inversion with umount if we allow iputs from sync_fs, so use the
delay iput flag to keep this from happening.  Thanks,

Reported-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/super.c