Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74609
b: refs/heads/master
c: f1dad16
h: refs/heads/master
i:
  74607: 0636f1e
v: v3
  • Loading branch information
Pavel Emelyanov authored and Linus Torvalds committed Dec 5, 2007
1 parent 255a857 commit 591f485
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 092e1fdaf35126475aef0dc70f4a2ce4f2f43052
refs/heads/master: f1dad166e88a5ddca0acf8f11dea0e2bd92d8bf3
4 changes: 4 additions & 0 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1588,6 +1588,10 @@ struct ctl_table_header *register_sysctl_table(struct ctl_table * table)
void unregister_sysctl_table(struct ctl_table_header * header)
{
might_sleep();

if (header == NULL)
return;

spin_lock(&sysctl_lock);
start_unregistering(header);
spin_unlock(&sysctl_lock);
Expand Down

0 comments on commit 591f485

Please sign in to comment.