Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5789
b: refs/heads/master
c: 1b0a74d
h: refs/heads/master
i:
  5787: 57a0500
v: v3
  • Loading branch information
Jan Kara authored and Linus Torvalds committed Aug 14, 2005
1 parent 58630c0 commit bf63670
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f73bc8cae3481adc4188a5f34a89025c10133b0a
refs/heads/master: 1b0a74d1c002320d5488333dd9c72126af1aab02
3 changes: 3 additions & 0 deletions trunk/fs/reiserfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,9 @@ static int new_inode_init(struct inode *inode, struct inode *dir, int mode)
*/
inode->i_uid = current->fsuid;
inode->i_mode = mode;
/* Make inode invalid - just in case we are going to drop it before
* the initialization happens */
INODE_PKEY(inode)->k_objectid = 0;

if (dir->i_mode & S_ISGID) {
inode->i_gid = dir->i_gid;
Expand Down

0 comments on commit bf63670

Please sign in to comment.