From 85db36cfb3de1422aeafb4e2ce83396333b744bb Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Thu, 23 Apr 2015 08:02:49 -0700 Subject: [PATCH] Btrfs: fix inode cache writeout The code to fix stalls during free spache cache IO wasn't using the correct root when waiting on the IO for inode caches. This is only a problem when the inode cache is enabled with mount -o inode_cache This fixes the inode cache writeout to preserve any error values and makes sure not to override the root when inode cache writeout is done. Reported-by: Filipe Manana Signed-off-by: Chris Mason --- Reading git-format-patch failed