nofail is a userspace level option and shouldn't be passed to the kernel
Fixes: https://tracker.ceph.com/issues/23262
Signed-off-by: Kenneth Waegeman <kenneth.waegeman@ugent.be>
(cherry picked from commit
51676e602969c5643c31ed26d7c611f43470c8e4)
skip = 1; /* ignore */
} else if (strncmp(data, "_netdev", 7) == 0) {
skip = 1; /* ignore */
+ } else if (strncmp(data, "nofail", 6) == 0) {
+ skip = 1; /* ignore */
} else if (strncmp(data, "secretfile", 10) == 0) {
if (!value || !*value) {