diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-06-09 18:31:26 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-06-11 23:13:05 +0200 |
commit | fd467696e8beb542144cd005ff96cd35fff41354 (patch) | |
tree | 900aa4ce86274d0ad19f42331d41994a8be54ec8 /drivers/md/dm-thin-metadata.c | |
parent | dm thin: range discard support (diff) | |
download | linux-fd467696e8beb542144cd005ff96cd35fff41354.tar.xz linux-fd467696e8beb542144cd005ff96cd35fff41354.zip |
dm thin: fail messages with EOPNOTSUPP when pool cannot handle messages
Use EOPNOTSUPP, rather than EINVAL, error code when user attempts to
send the pool a message. Otherwise usespace is led to believe the
message failed due to invalid argument.
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin-metadata.c')
0 files changed, 0 insertions, 0 deletions