]> git.baikalelectronics.ru Git - kernel.git/commit
autofs4: fix invalid ioctl return in autofs4_root_ioctl_unlocked()
authorIan Kent <raven@themaw.net>
Tue, 15 Mar 2016 21:58:33 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit782b2be9d121e1559eac162715078aa2570d2410
treecabbabd1099b18f1970b69acc45610eedf099bbe
parentb64069631c71d4b02ac2f152b59ddded4be1f678
autofs4: fix invalid ioctl return in autofs4_root_ioctl_unlocked()

The return from an ioctl if an invalid ioctl is passed in should be
EINVAL not ENOSYS.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/root.c