diff options
Diffstat (limited to 'example/passthrough_ll.c')
-rw-r--r-- | example/passthrough_ll.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index 0b92d9c..4c4f68a 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -585,6 +585,9 @@ int main(int argc, char *argv[]) .writeback = 0 }; int ret = -1; + /* Don't mask creation mode, kernel already did that */ + umask(0); + pthread_mutex_init(&lo.mutex, NULL); lo.root.next = lo.root.prev = &lo.root; lo.root.fd = -1; |