Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361676
b: refs/heads/master
c: 38d78e5
h: refs/heads/master
v: v3
  • Loading branch information
Vladimir Davydov authored and Linus Torvalds committed Mar 22, 2013
1 parent 58df6cc commit 2a264e2
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: ca4b3f302c90de5e516296e581c31c80125cd24b
refs/heads/master: 38d78e587d4960d0db94add518d27ee74bad2301
3 changes: 2 additions & 1 deletion trunk/ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,8 @@ SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode,
fd = error;
}
mutex_unlock(&root->d_inode->i_mutex);
mnt_drop_write(mnt);
if (!ro)
mnt_drop_write(mnt);
out_putname:
putname(name);
return fd;
Expand Down

0 comments on commit 2a264e2

Please sign in to comment.