aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2014-03-04 07:57:43 -0300
committerArtem Bityutskiy <[email protected]>2014-03-05 15:48:35 +0200
commit80744cc92207baa913ac9575374738b6298032eb (patch)
tree7f600e92514cf2ce65fef26b868947fcd7fd31c9 /lib/memory-notifier-error-inject.c
parent22d3ee5c48cbae136cb44aa812c562117ff6df29 (diff)
UBI: block: Use ENOSYS as return value when CONFIG_UBIBLOCK=n
In order to have a way of distinguishing an invalid ioctl from a not supported (but otherwise valid) ioctl, this commit changes the return value of the ioctl stubs from ENOTTY to ENOSYS. This will be useful to report more accurate error messages from userspace tools. Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions