Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn Webb
liblattzfs
Commits
a0964498
Commit
a0964498
authored
Aug 15, 2021
by
Shawn Webb
Browse files
Test lazy mode
Signed-off-by:
Shawn Webb
<
shawn.webb@hardenedbsd.org
>
parent
7b6d8a52
Changes
1
Hide whitespace changes
Inline
Side-by-side
poc/poc.c
View file @
a0964498
...
...
@@ -17,7 +17,7 @@ main(int argc, char *argv[])
return
(
1
);
}
ctx
=
lattzfs_ctx_new
(
argv
[
1
],
0
);
ctx
=
lattzfs_ctx_new
(
argv
[
1
],
LATTZFS_FLAG_LAZY_OPEN
);
if
(
ctx
==
NULL
)
{
printf
(
"ctx null
\n
"
);
return
(
1
);
...
...
@@ -34,5 +34,7 @@ main(int argc, char *argv[])
printf
(
"Status: %d
\n
"
,
status
);
printf
(
"Errata: 0x%016lx
\n
"
,
(
uint64_t
)
errata
);
lattzfs_ctx_free
(
&
ctx
);
return
(
0
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment