Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176697
b: refs/heads/master
c: e5cc9c7
h: refs/heads/master
i:
  176695: 640bb07
v: v3
  • Loading branch information
Amerigo Wang authored and Linus Torvalds committed Dec 16, 2009
1 parent e387866 commit f309785
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: d987f8b213f2cdcc52b2ca9ee67161516e4d256a
refs/heads/master: e5cc9c7b1a3e7ae4d700d9fce168fb597bcfe9b6
3 changes: 1 addition & 2 deletions trunk/ipc/sem.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in,
static int semctl_nolock(struct ipc_namespace *ns, int semid,
int cmd, int version, union semun arg)
{
int err = -EINVAL;
int err;
struct sem_array *sma;

switch(cmd) {
Expand Down Expand Up @@ -701,7 +701,6 @@ static int semctl_nolock(struct ipc_namespace *ns, int semid,
default:
return -EINVAL;
}
return err;
out_unlock:
sem_unlock(sma);
return err;
Expand Down

0 comments on commit f309785

Please sign in to comment.