Skip to content
Commit 19d51588 authored by Adam Harvey's avatar Adam Harvey Committed by Steve French
Browse files

cifs: ignore auto and noauto options if given

In 24e0a1ef, the noauto and auto options were missed when migrating
to the new mount API. As a result, users with noauto in their fstab
mount options are now unable to mount cifs filesystems, as they'll
receive an "Unknown parameter" error.

This restores the old behaviour of ignoring noauto and auto if they're
given.

Fixes: 24e0a1ef

 ("cifs: switch to new mount api")
Signed-off-by: default avatarAdam Harvey <adam@adamharvey.name>
Reviewed-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 6ee1d745
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