ioctl: tidy up a bit more
authorAlan Cox <alan@linux.intel.com>
Mon, 12 Jan 2015 11:13:19 +0000 (11:13 +0000)
committerAlan Cox <alan@linux.intel.com>
Mon, 12 Jan 2015 11:13:19 +0000 (11:13 +0000)
commit1c3d82b31a9b2a773600800192e84bc7ad678c4e
tree419a24776b5067bb3f3617b8e35b8883bb391712
parent012a73ebabaac9a3d2dda3159274f26d41f4539c
ioctl: tidy up a bit more

Unknown ioctls return ENOTTY not EINVAL (Unix history...) so we need to do
the right thing. In addition we automatically set the errno so blkdev doesn't
have to care about it
Kernel/dev/blkdev.c
Kernel/devio.c