Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120669
b: refs/heads/master
c: f8b9d53
h: refs/heads/master
i:
  120667: 02b7021
v: v3
  • Loading branch information
David Howells authored and James Morris committed Nov 13, 2008
1 parent 5f2105c commit 8692db3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 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: cd80ca8a03fd712b046028c1f66e10f3aec43eee
refs/heads/master: f8b9d53a31dca2c1185232c5fe2731d99cc963c8
2 changes: 1 addition & 1 deletion trunk/fs/9p/fid.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ struct p9_fid *v9fs_fid_lookup(struct dentry *dentry)
switch (access) {
case V9FS_ACCESS_SINGLE:
case V9FS_ACCESS_USER:
uid = current->fsuid;
uid = current_fsuid();
any = 0;
break;

Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ struct inode *v9fs_get_inode(struct super_block *sb, int mode)
inode = new_inode(sb);
if (inode) {
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_rdev = 0;
inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/9p/vfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ static int v9fs_get_sb(struct file_system_type *fs_type, int flags,
struct v9fs_session_info *v9ses = NULL;
struct p9_wstat *st = NULL;
int mode = S_IRWXUGO | S_ISVTX;
uid_t uid = current->fsuid;
gid_t gid = current->fsgid;
uid_t uid = current_fsuid();
gid_t gid = current_fsgid();
struct p9_fid *fid;
int retval = 0;

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/9p/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ static struct p9_fid *p9_fid_create(struct p9_client *clnt)
memset(&fid->qid, 0, sizeof(struct p9_qid));
fid->mode = -1;
fid->rdir_fpos = 0;
fid->uid = current->fsuid;
fid->uid = current_fsuid();
fid->clnt = clnt;
fid->aux = NULL;

Expand Down

0 comments on commit 8692db3

Please sign in to comment.