diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-05-29 09:19:58 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-09 17:21:07 -0700 |
commit | 902c68a4da74442f0ab1c0b458f7723a68dfd3b1 (patch) | |
tree | 50aec3bffcc19ab3ddfe66448eb3a03333460692 /fs/cifs/cifsfs.h | |
parent | b05fd8742f6291b67571ad0fdad4da6b6eb98025 (diff) | |
download | op-kernel-dev-902c68a4da74442f0ab1c0b458f7723a68dfd3b1.zip op-kernel-dev-902c68a4da74442f0ab1c0b458f7723a68dfd3b1.tar.gz |
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>
Diffstat (limited to 'fs/cifs/cifsfs.h')
0 files changed, 0 insertions, 0 deletions