From: Wang Shilong Date: Thu, 17 Jul 2014 03:44:09 +0000 (+0800) Subject: Btrfs: fix wrong skipping compression for an inode X-Git-Tag: fixes-against-v3.18-rc2~120^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79707b092caff665a8a77e8e31fe4ab18b4d109;p=pandora-kernel.git Btrfs: fix wrong skipping compression for an inode If a file's compression ratios is bad, we will set NOCOMPRESS flag for it, and it will skip compression for that inode next time. However, if we remount fs to COMPRESS_FORCE, it still should try if we could compress pages for that inode, this patch fix wrong check for this problem. Signed-off-by: Wang Shilong Reviewed-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed