Commit e3cd8067 authored by Ian Kent's avatar Ian Kent Committed by Linus Torvalds
Browse files

autofs4: fix invalid ioctl return in autofs4_root_ioctl_unlocked()

The return from an ioctl if an invalid ioctl is passed in should be
Signed-off-by: default avatarIan Kent <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent b3f67a98
......@@ -914,7 +914,7 @@ static int autofs4_root_ioctl_unlocked(struct inode *inode, struct file *filp,
filp->f_path.mnt, sbi, p);
return -ENOSYS;
return -EINVAL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment