1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | We have this:
if (mountflags & MS_BIND) {
if (mountflags & MS_REC) {
sc_string_append(buf, buf_size, " --rbind");
} else {
sc_string_append(buf, buf_size, " --bind");
}
used_special_flags |= MS_BIND | MS_REC;
}
I expected this:
if (mountflags & MS_BIND) {
if (mountflags & MS_REC) {
sc_string_append(buf, buf_size, " --rbind");
used_special_flags |= MS_REC;
} else {
sc_string_append(buf, buf_size, " --bind");
}
used_special_flags |= MS_BIND;
}
|