Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120688
b: refs/heads/master
c: 8f659ad
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and James Morris committed Nov 13, 2008
1 parent 5767ff5 commit acc495e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 77c70de15a74801f427ee5fb85ddfdde48ed84f2
refs/heads/master: 8f659adfa246a1e57d0cd3f109accfe071f2d0f1
4 changes: 2 additions & 2 deletions trunk/fs/jfs/jfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ struct inode *ialloc(struct inode *parent, umode_t mode)
return ERR_PTR(rc);
}

inode->i_uid = current->fsuid;
inode->i_uid = current_fsuid();
if (parent->i_mode & S_ISGID) {
inode->i_gid = parent->i_gid;
if (S_ISDIR(mode))
mode |= S_ISGID;
} else
inode->i_gid = current->fsgid;
inode->i_gid = current_fsgid();

/*
* New inodes need to save sane values on disk when
Expand Down

0 comments on commit acc495e

Please sign in to comment.