aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 806caacff86c..2c77e0957f74 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3422,8 +3422,8 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,
3422 if (objectid > root->highest_inode) 3422 if (objectid > root->highest_inode)
3423 root->highest_inode = objectid; 3423 root->highest_inode = objectid;
3424 3424
3425 inode->i_uid = current->fsuid; 3425 inode->i_uid = current_fsuid();
3426 inode->i_gid = current->fsgid; 3426 inode->i_gid = current_fsgid();
3427 inode->i_mode = mode; 3427 inode->i_mode = mode;
3428 inode->i_ino = objectid; 3428 inode->i_ino = objectid;
3429 inode_set_bytes(inode, 0); 3429 inode_set_bytes(inode, 0);