libe2p: fix bug so that MNTOPT_ options can be successfully parsed

Thanks to Israel G. Lugo for pointing this out.

Addresses-Debian-Bug: #641667

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Theodore Ts'o 2011-09-15 14:21:45 -04:00
parent 5b734a0e71
commit 63165136ea
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ int e2p_string2mntopt(char *string, unsigned int *mask)
return 0;
}
}
if (strncasecmp(string, "MNTOPT_", 8))
if (strncasecmp(string, "MNTOPT_", 7))
return 1;
if (string[8] == 0)