chiark / gitweb /
cryptsetup: support non-LUKS crypto partitions
[elogind.git] / src / mount-setup.c
index 9eb2832c6ecd6935252b10f1fda44146c40623c0..6efc48e4dce8c493e669442ff1ee479b4ffd1d99 100644 (file)
@@ -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;
 };