Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120693
b: refs/heads/master
c: c222d53
h: refs/heads/master
i:
  120691: 75f53bf
v: v3
  • Loading branch information
David Howells authored and James Morris committed Nov 13, 2008
1 parent 0d4ae8e commit 01c86bc
Show file tree
Hide file tree
Showing 2 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: b19c2a3b839b9dfb3f258e8943dc3784ae20c7b0
refs/heads/master: c222d53eb32ea0c9516261268a24c6f162423acd
8 changes: 4 additions & 4 deletions trunk/fs/omfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ struct inode *omfs_new_inode(struct inode *dir, int mode)

inode->i_ino = new_block;
inode->i_mode = mode;
inode->i_uid = current->fsuid;
inode->i_gid = current->fsgid;
inode->i_uid = current_fsuid();
inode->i_gid = current_fsgid();
inode->i_blocks = 0;
inode->i_mapping->a_ops = &omfs_aops;

Expand Down Expand Up @@ -420,8 +420,8 @@ static int omfs_fill_super(struct super_block *sb, void *data, int silent)

sb->s_fs_info = sbi;

sbi->s_uid = current->uid;
sbi->s_gid = current->gid;
sbi->s_uid = current_uid();
sbi->s_gid = current_gid();
sbi->s_dmask = sbi->s_fmask = current->fs->umask;

if (!parse_options((char *) data, sbi))
Expand Down

0 comments on commit 01c86bc

Please sign in to comment.