Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131069
b: refs/heads/master
c: 42f15d7
h: refs/heads/master
i:
  131067: b24afba
v: v3
  • Loading branch information
Chris Mason committed Feb 6, 2009
1 parent 6a5be42 commit a386c24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 806638bce99f51deccbfedbe86ab3c5cf55a1d35
refs/heads/master: 42f15d77df8a7e8a2feb15041d5d30710ee7f951
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -3491,7 +3491,7 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,

inode->i_uid = current_fsuid();

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

0 comments on commit a386c24

Please sign in to comment.