Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143212
b: refs/heads/master
c: d20d5a7
h: refs/heads/master
v: v3
  • Loading branch information
Randy Robertson authored and Linus Torvalds committed Apr 13, 2009
1 parent 79d7a67 commit fea3ff1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1671f6d783a2385d32e11f456cbe32f0e4b4b49
refs/heads/master: d20d5a7456d57d8affa88f45f27ae96ea49c29e4
3 changes: 2 additions & 1 deletion trunk/init/initramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ static int __init do_name(void)
if (wfd >= 0) {
sys_fchown(wfd, uid, gid);
sys_fchmod(wfd, mode);
sys_ftruncate(wfd, body_len);
if (body_len)
sys_ftruncate(wfd, body_len);
vcollected = kstrdup(collected, GFP_KERNEL);
state = CopyFile;
}
Expand Down

0 comments on commit fea3ff1

Please sign in to comment.