Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363252
b: refs/heads/master
c: d81c8d1
h: refs/heads/master
v: v3
  • Loading branch information
Ming Lei authored and Greg Kroah-Hartman committed Apr 10, 2013
1 parent 7908c71 commit cd1a925
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: c3a30420902de10bcc4c8474766cb5f97f4c4dfc
refs/heads/master: d81c8d19da8fb6514c75d5c19334f4236856c561
4 changes: 2 additions & 2 deletions trunk/drivers/base/devtmpfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ static int handle_create(const char *nodename, umode_t mode, uid_t uid,
struct iattr newattrs;

newattrs.ia_mode = mode;
newattrs.ia_uid = uid;
newattrs.ia_gid = gid;
newattrs.ia_uid = KUIDT_INIT(uid);
newattrs.ia_gid = KGIDT_INIT(gid);
newattrs.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID;
mutex_lock(&dentry->d_inode->i_mutex);
notify_change(dentry, &newattrs);
Expand Down

0 comments on commit cd1a925

Please sign in to comment.