Merge pull request #29788 from poettering/nspawn-barrier-fix

nspawn: fix barriers when wiping fully visible procfs/sysfs
This commit is contained in:
Lennart Poettering
2023-11-01 15:20:15 +01:00
committed by GitHub
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ struct Barrier {
int64_t barriers;
};
#define BARRIER_NULL {-1, -1, {-1, -1}, 0}
#define BARRIER_NULL {-EBADF, -EBADF, {-EBADF, -EBADF}, 0}
int barrier_create(Barrier *obj);
Barrier* barrier_destroy(Barrier *b);