diff options
author | Eric W. Biederman | 2012-10-12 23:25:24 +0200 |
---|---|---|
committer | Eric W. Biederman | 2012-10-13 00:01:42 +0200 |
commit | e9069f470803eeb5e243a05bc717452c6218bd71 (patch) | |
tree | 0e1dbceee504f04ad6f5c2ecc44e91021338280b /net | |
parent | userns: Fix posix_acl_file_xattr_userns gid conversion (diff) | |
download | kernel-qcow2-linux-e9069f470803eeb5e243a05bc717452c6218bd71.tar.gz kernel-qcow2-linux-e9069f470803eeb5e243a05bc717452c6218bd71.tar.xz kernel-qcow2-linux-e9069f470803eeb5e243a05bc717452c6218bd71.zip |
btrfs: Fix compilation with user namespace support enabled
When compiling with user namespace support btrfs fails like:
fs/btrfs/tree-log.c: In function ‘fill_inode_item’:
fs/btrfs/tree-log.c:2955:2: error: incompatible type for argument 3 of ‘btrfs_set_inode_uid’
fs/btrfs/ctree.h:2026:1: note: expected ‘u32’ but argument is of type ‘kuid_t’
fs/btrfs/tree-log.c:2956:2: error: incompatible type for argument 3 of ‘btrfs_set_inode_gid’
fs/btrfs/ctree.h:2027:1: note: expected ‘u32’ but argument is of type ‘kgid_t’
Fix this by using i_uid_read and i_gid_read in
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions