Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120685
b: refs/heads/master
c: 4ac8489
h: refs/heads/master
i:
  120683: ec4e3a1
v: v3
  • Loading branch information
David Howells authored and James Morris committed Nov 13, 2008
1 parent 02ca51d commit 9f99c3d
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: 94c9a5ee4cc7fb7eee2a9f9e47f7ccea6b1869ff
refs/heads/master: 4ac8489a7294dcf92127825d74f2d981143e825d
4 changes: 2 additions & 2 deletions trunk/fs/hfsplus/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ struct inode *hfsplus_new_inode(struct super_block *sb, int mode)

inode->i_ino = HFSPLUS_SB(sb).next_cnid++;
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_nlink = 1;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC;
INIT_LIST_HEAD(&HFSPLUS_I(inode).open_dir_list);
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/hfsplus/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void hfsplus_fill_defaults(struct hfsplus_sb_info *opts)
opts->creator = HFSPLUS_DEF_CR_TYPE;
opts->type = HFSPLUS_DEF_CR_TYPE;
opts->umask = current->fs->umask;
opts->uid = current->uid;
opts->gid = current->gid;
opts->uid = current_uid();
opts->gid = current_gid();
opts->part = -1;
opts->session = -1;
}
Expand Down

0 comments on commit 9f99c3d

Please sign in to comment.