autofs4: collect version check return
authorIan Kent <raven@themaw.net>
Thu, 6 Nov 2008 20:53:23 +0000 (12:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Nov 2008 23:41:17 +0000 (15:41 -0800)
commit96b0317906690997c16c7efffbc4c0fafcd6f7f2
treea99392c1393853f2ad953445be0165500fb5d3d8
parentbc9c4068388eea01d3b5da31016879f2341ecec5
autofs4: collect version check return

The function check_dev_ioctl_version() returns an error code upon fail but
it isn't captured and returned in validate_dev_ioctl() as it should be.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/dev-ioctl.c