diff options
| author | Mike Snitzer <[email protected]> | 2014-05-22 18:32:51 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2014-06-03 17:44:08 +0000 |
| commit | af91805a497d3aa694704172b41ba953be3738ed (patch) | |
| tree | 44c0ba130abac57125d7aff148b07d0f2d3e3f0b /net/unix/af_unix.c | |
| parent | dm thin: cleanup noflush_work to use a proper completion (diff) | |
| download | kernel-af91805a497d3aa694704172b41ba953be3738ed.tar.gz kernel-af91805a497d3aa694704172b41ba953be3738ed.zip | |
dm thin: return ENOSPC instead of EIO when error_if_no_space enabled
Update the DM thin provisioning target's allocation failure error to be
consistent with commit a9d6ceb8 ("[SCSI] return ENOSPC on thin
provisioning failure").
The DM thin target now returns -ENOSPC rather than -EIO when
block allocation fails due to the pool being out of data space (and
the 'error_if_no_space' thin-pool feature is enabled).
Signed-off-by: Mike Snitzer <[email protected]>
Acked-By: Joe Thornber <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
