Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42898
b: refs/heads/master
c: 95362fa
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Dec 7, 2006
1 parent ec9c926 commit 040e986
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 01afb2134ed079fa4551b4d26f62423df6790c09
refs/heads/master: 95362fa90312ff2d52c0b4d42412cd7ceeb3b89b
10 changes: 8 additions & 2 deletions trunk/kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1857,10 +1857,16 @@ static struct file_system_type futex_fs_type = {

static int __init init(void)
{
unsigned int i;
int i = register_filesystem(&futex_fs_type);

if (i)
return i;

register_filesystem(&futex_fs_type);
futex_mnt = kern_mount(&futex_fs_type);
if (IS_ERR(futex_mnt)) {
unregister_filesystem(&futex_fs_type);
return PTR_ERR(futex_mnt);
}

for (i = 0; i < ARRAY_SIZE(futex_queues); i++) {
INIT_LIST_HEAD(&futex_queues[i].chain);
Expand Down

0 comments on commit 040e986

Please sign in to comment.