projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15916de
)
Btrfs: Use current_fsuid/gid
author
Chris Mason
<chris.mason@oracle.com>
Thu, 20 Nov 2008 03:00:53 +0000
(22:00 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 20 Nov 2008 03:00:53 +0000
(22:00 -0500)
This fixes compile problems with linux-next
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index 806caacff86c79d12f74dfbf80d7e9e1c0f5298b..2c77e0957f743ed13ac4f7ac978b24d1618b3c2c 100644
(file)
--- 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,
if (objectid > root->highest_inode)
root->highest_inode = objectid;
- inode->i_uid = current
->fsuid
;
- inode->i_gid = current
->fsgid
;
+ inode->i_uid = current
_fsuid()
;
+ inode->i_gid = current
_fsgid()
;
inode->i_mode = mode;
inode->i_ino = objectid;
inode_set_bytes(inode, 0);