Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125047
b: refs/heads/master
c: d0eafc7
h: refs/heads/master
i:
  125045: 0d9a062
  125043: 16daae5
  125039: 7a35844
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Jan 2, 2009
1 parent 08fd482 commit fa5a00e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 39efd191d01b5f1efc3d604baf74233dc525e6a8
refs/heads/master: d0eafc7db8f170d534a16b5f04617e98ae2025de
6 changes: 3 additions & 3 deletions trunk/fs/devpts/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,9 @@ int devpts_pty_new(struct inode *ptmx_inode, struct tty_struct *tty)
if (!inode)
return -ENOMEM;

inode->i_ino = number+2;
inode->i_uid = config.setuid ? config.uid : current_fsuid();
inode->i_gid = config.setgid ? config.gid : current_fsgid();
inode->i_ino = number + 3;
inode->i_uid = opts->setuid ? opts->uid : current_fsuid();
inode->i_gid = opts->setgid ? opts->gid : current_fsgid();
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
init_special_inode(inode, S_IFCHR|opts->mode, device);
inode->i_private = tty;
Expand Down

0 comments on commit fa5a00e

Please sign in to comment.