From: Chris Mason Date: Thu, 23 Apr 2015 15:02:49 +0000 (-0700) Subject: Btrfs: fix inode cache writeout X-Git-Tag: omap-for-v4.1/fixes-rc1~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85db36cfb3de1422aeafb4e2ce83396333b744bb;p=pandora-kernel.git 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-diff-tree failed