From: Liu Bo Date: Mon, 12 May 2014 04:47:36 +0000 (+0800) Subject: Btrfs: mark mapping with error flag to report errors to userspace X-Git-Tag: omap-for-v3.16/fixes-against-rc1~54^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dca6eea91653e9949ce6eb9e9acab6277e2f2c4;p=pandora-kernel.git Btrfs: mark mapping with error flag to report errors to userspace According to commit 865ffef3797da2cac85b3354b5b6050dc9660978 (fs: fix fsync() error reporting), it's not stable to just check error pages because pages can be truncated or invalidated, we should also mark mapping with error flag so that a later fsync can catch the error. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed