Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120670
b: refs/heads/master
c: 2155998
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and James Morris committed Nov 13, 2008
1 parent 8692db3 commit 0e4d7e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: f8b9d53a31dca2c1185232c5fe2731d99cc963c8
refs/heads/master: 215599815d8977a4338fbd27d6fe2c1721200197
4 changes: 2 additions & 2 deletions trunk/fs/affs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ affs_new_inode(struct inode *dir)
mark_buffer_dirty_inode(bh, inode);
affs_brelse(bh);

inode->i_uid = current->fsuid;
inode->i_gid = current->fsgid;
inode->i_uid = current_fsuid();
inode->i_gid = current_fsgid();
inode->i_ino = block;
inode->i_nlink = 1;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC;
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/affs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, s

/* Fill in defaults */

*uid = current->uid;
*gid = current->gid;
*uid = current_uid();
*gid = current_gid();
*reserved = 2;
*root = -1;
*blocksize = -1;
Expand Down

0 comments on commit 0e4d7e7

Please sign in to comment.