mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
mount: don't relabel /dev twice in a row
This commit is contained in:
parent
6d3d218b35
commit
9fe117ea5a
2
TODO
2
TODO
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user