diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-06-09 12:31:26 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-06-11 17:13:05 -0400 |
commit | fd467696e8beb542144cd005ff96cd35fff41354 (patch) | |
tree | 900aa4ce86274d0ad19f42331d41994a8be54ec8 /drivers/w1/slaves/w1_ds2413.c | |
parent | 34fbcf6257eb3f39a5b78a4f51b40f881b82033b (diff) | |
download | linux-fd467696e8beb542144cd005ff96cd35fff41354.tar.gz linux-fd467696e8beb542144cd005ff96cd35fff41354.tar.bz2 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/w1/slaves/w1_ds2413.c')
0 files changed, 0 insertions, 0 deletions