From: Gui Hecheng Date: Thu, 29 May 2014 01:19:58 +0000 (+0800) Subject: btrfs: replace EINVAL with ERANGE for resize when ULLONG_MAX X-Git-Tag: omap-for-v3.16/fixes-against-rc1~54^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902c68a4da74442f0ab1c0b458f7723a68dfd3b1;p=pandora-kernel.git btrfs: replace EINVAL with ERANGE for resize when ULLONG_MAX To be accurate about the error case, if the new size is beyond ULLONG_MAX, return ERANGE instead of EINVAL. Signed-off-by: Gui Hecheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed