]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: ignore auto and noauto options if given
authorAdam Harvey <adam@adamharvey.name>
Wed, 27 Jan 2021 21:44:35 +0000 (13:44 -0800)
committerSteve French <stfrench@microsoft.com>
Thu, 28 Jan 2021 15:59:27 +0000 (09:59 -0600)
commit1193bb95ccf0933ad677e47409a7a152cc0c8c9f
tree402cc7ac486a6e86d95a229447e9e617e4d92bd6
parentbb30d010fcc33a6e59b2b501e4ba1a6982895115
cifs: ignore auto and noauto options if given

In 84e70c69068d, 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: 84e70c69068d ("cifs: switch to new mount api")
Signed-off-by: Adam Harvey <adam@adamharvey.name>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/fs_context.c