Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
steam
systemd
Commits
9fe117ea
Commit
9fe117ea
authored
Nov 11, 2010
by
Lennart Poettering
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mount: don't relabel /dev twice in a row
parent
6d3d218b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
TODO
TODO
+2
-0
src/mount-setup.c
src/mount-setup.c
+4
-0
No files found.
TODO
View file @
9fe117ea
...
...
@@ -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.
...
...
src/mount-setup.c
View file @
9fe117ea
...
...
@@ -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
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment