Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287891
b: refs/heads/master
c: 12fc9d0
h: refs/heads/master
i:
  287889: 90a5992
  287887: 0ff4123
v: v3
  • Loading branch information
Florian Albrechtskirchinger authored and David Sterba committed Feb 16, 2012
1 parent d2a4079 commit c519998
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8a3344269465b26761b74493cfbeeaa75d821614
refs/heads/master: 12fc9d0923ca70ae8960bccebac09d5c12f8c4d4
6 changes: 4 additions & 2 deletions trunk/fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -6706,8 +6706,10 @@ int btrfs_create_subvol_root(struct btrfs_trans_handle *trans,
int err;
u64 index = 0;

inode = btrfs_new_inode(trans, new_root, NULL, "..", 2, new_dirid,
new_dirid, S_IFDIR | 0700, &index);
inode = btrfs_new_inode(trans, new_root, NULL, "..", 2,
new_dirid, new_dirid,
S_IFDIR | (~current_umask() & S_IRWXUGO),
&index);
if (IS_ERR(inode))
return PTR_ERR(inode);
inode->i_op = &btrfs_dir_inode_operations;
Expand Down

0 comments on commit c519998

Please sign in to comment.