diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index 101879ed764ca0f3cb073f71c33396fb277db9e9..aa8228eb104b8fe7f47eea1f36de730daa003d5c 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c @@ -914,7 +914,7 @@ static int autofs4_root_ioctl_unlocked(struct inode *inode, struct file *filp, filp->f_path.mnt, sbi, p); default: - return -ENOSYS; + return -EINVAL; } }