chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cryptsetup: support non-LUKS crypto partitions
[elogind.git]
/
src
/
mount-setup.c
diff --git
a/src/mount-setup.c
b/src/mount-setup.c
index 9eb2832c6ecd6935252b10f1fda44146c40623c0..6efc48e4dce8c493e669442ff1ee479b4ffd1d99 100644
(file)
--- a/
src/mount-setup.c
+++ b/
src/mount-setup.c
@@
-202,6
+202,10
@@
static int nftw_cb(
int tflag,
struct FTW *ftwbuf) {
+ /* No need to label /dev twice in a row... */
+ if (ftwbuf->level == 0)
+ return 0;
+
label_fix(fpath);
return 0;
};