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 <guihc.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Showing
Please register or sign in to comment