summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-thin-metadata.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-06-09 18:31:26 +0200
committerMike Snitzer <snitzer@redhat.com>2015-06-11 23:13:05 +0200
commitfd467696e8beb542144cd005ff96cd35fff41354 (patch)
tree900aa4ce86274d0ad19f42331d41994a8be54ec8 /drivers/md/dm-thin-metadata.c
parentdm thin: range discard support (diff)
downloadlinux-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