chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099a804
)
cryptsetup: set the timeout to 0 by default
author
Harald Hoyer
<harald@redhat.com>
Fri, 12 Apr 2013 07:45:26 +0000
(09:45 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 18 Apr 2013 00:19:46 +0000
(
02:19
+0200)
cryptsetup itself has no timeout as default from the beginning. So the
default timeout has been "0" from the beginning.
https://bugzilla.redhat.com/show_bug.cgi?id=949702
src/cryptsetup/cryptsetup.c
patch
|
blob
|
history
diff --git
a/src/cryptsetup/cryptsetup.c
b/src/cryptsetup/cryptsetup.c
index ae4aa8dba303335ceefaa03f4f8d44c473b3cbf2..376f748153348e40ae8dd7c461b91a2da87a8ec2 100644
(file)
--- a/
src/cryptsetup/cryptsetup.c
+++ b/
src/cryptsetup/cryptsetup.c
@@
-44,7
+44,7
@@
static unsigned opt_tries = 0;
static bool opt_readonly = false;
static bool opt_verify = false;
static bool opt_discards = false;
-static usec_t opt_timeout =
DEFAULT_TIMEOUT_USEC
;
+static usec_t opt_timeout =
0
;
/* Options Debian's crypttab knows we don't: