Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24213
b: refs/heads/master
c: 910dea7
h: refs/heads/master
i:
  24211: 8d2b706
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Mar 26, 2006
1 parent 998746c commit e74969c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 27315c96a4c3d5f24a902111dae537cdc28302e4
refs/heads/master: 910dea7fdda22f0ee83d26d459e460c79ed94557
3 changes: 1 addition & 2 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,7 @@ int unshare_files(void)
struct files_struct *files = current->files;
int rc;

if(!files)
BUG();
BUG_ON(!files);

/* This can race but the race causes us to copy when we don't
need to and drop the copy */
Expand Down

0 comments on commit e74969c

Please sign in to comment.