]> Git Repo - linux.git/commit
btrfs: replace EINVAL with ERANGE for resize when ULLONG_MAX
authorGui Hecheng <[email protected]>
Thu, 29 May 2014 01:19:58 +0000 (09:19 +0800)
committerChris Mason <[email protected]>
Tue, 10 Jun 2014 00:21:07 +0000 (17:21 -0700)
commit902c68a4da74442f0ab1c0b458f7723a68dfd3b1
tree50aec3bffcc19ab3ddfe66448eb3a03333460692
parentb05fd8742f6291b67571ad0fdad4da6b6eb98025
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ioctl.c
This page took 0.040505 seconds and 4 git commands to generate.