git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b05cc
)
Mainline kernel already includes Mark Huang's fix. No need for the
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 29 Jun 2007 00:22:03 +0000
(
00:22
+0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 29 Jun 2007 00:22:03 +0000
(
00:22
+0000)
sys_unlink(collected) call, as the previous call to clean_path(collected,mode)
takes care of doing this.
init/initramfs.c
patch
|
blob
|
history
diff --git
a/init/initramfs.c
b/init/initramfs.c
index
e626a75
..
4fa0f79
100644
(file)
--- a/
init/initramfs.c
+++ b/
init/initramfs.c
@@
-290,7
+290,6
@@
static int __init do_name(void)
sys_chmod(collected, mode);
} else if (S_ISBLK(mode) || S_ISCHR(mode) ||
S_ISFIFO(mode) || S_ISSOCK(mode)) {
- sys_unlink(collected);
if (maybe_link() == 0) {
sys_mknod(collected, mode, rdev);
sys_chown(collected, uid, gid);