Commit 9fe117ea authored by Lennart Poettering's avatar Lennart Poettering

mount: don't relabel /dev twice in a row

parent 6d3d218b
......@@ -80,6 +80,8 @@
* drop tmp.mount
* systemctl condrestart should return 0 if service isn't running
External:
* patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup.
......
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment