autofs: don't fail to free_dev_ioctl(param)
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 10 Sep 2016 10:34:24 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:24 +0000 (20:34 +1000)
commit8f9e4b5358816aa02711438cf24f19bf893441a8
tree763f32db4ce8409d29776aeaed9b937fee695b83
parentb5469e89910509ead54b6f042611d972a297e18d
autofs: don't fail to free_dev_ioctl(param)

Returning -ENOTTY here fails to free dynamically allocated param.

Link: http://lkml.kernel.org/r/20160812024815.12352.69153.stgit@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Ian Kent <ikent@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/autofs4/dev-ioctl.c
This page took 0.025846 seconds and 5 git commands to generate.