mount: don't relabel /dev twice in a row
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user