← Commit list

a396ade9f

Denys Vlasenko
Denys Vlasenko
2012-06-22
FAILED Duration: 176s

Subject

mount: undo recent breakage when mount flags were made unsigned

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/mount.c+1 -1
@@ -467,7 +467,7 @@ static unsigned long parse_mount_options(char *options, char **unrecognized)
for (i = 0; i < ARRAY_SIZE(mount_options); i++) {
if (strcasecmp(option_str, options) == 0) {
unsigned long fl = mount_options[i];
- if (fl < 0)
+ if ((long)fl < 0)
flags &= fl;
else
flags |= fl;