Skip to content

Commit

Permalink
mount.ceph.c: do not pass nofail to the kernel
Browse files Browse the repository at this point in the history
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 51676e6)
  • Loading branch information
kwaegema authored and Vicente-Cheng committed Apr 29, 2019
1 parent f4139a8 commit 344a139
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mount/mount.ceph.c
Expand Up @@ -150,6 +150,8 @@ static char *parse_options(const char *data, int *filesys_flags)
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) {
Expand Down

0 comments on commit 344a139

Please sign in to comment.