Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95950
b: refs/heads/master
c: 269f213
h: refs/heads/master
v: v3
  • Loading branch information
Ulrich Drepper authored and Linus Torvalds committed May 3, 2008
1 parent 0ad4ebc commit 9d098c5
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: d35c7b0e54a596c5a8134d75999b7f391a9c6550
refs/heads/master: 269f21344b23e552c21c9e2d7ca258479dcd7a0a
3 changes: 1 addition & 2 deletions trunk/ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ asmlinkage long sys_mq_open(const char __user *u_name, int oflag, mode_t mode,
if (IS_ERR(name = getname(u_name)))
return PTR_ERR(name);

fd = get_unused_fd();
fd = get_unused_fd_flags(O_CLOEXEC);
if (fd < 0)
goto out_putname;

Expand Down Expand Up @@ -709,7 +709,6 @@ asmlinkage long sys_mq_open(const char __user *u_name, int oflag, mode_t mode,
goto out_putfd;
}

set_close_on_exec(fd, 1);
fd_install(fd, filp);
goto out_upsem;

Expand Down

0 comments on commit 9d098c5

Please sign in to comment.