summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 03:30:54 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:10 -0500
commit175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13 (patch)
tree841812b19b8a5546e472be321b32ca58528b76c3 /fs/btrfs
parent030a8ba48fa6fa2a1304bab5b0f49360613c4af2 (diff)
downloadlinux-175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13.tar.bz2
fs: propagate umode_t, misc bits
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs')
-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 0060875d6af6..2f426a51e60d 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -4412,8 +4412,8 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
struct inode *dir,
const char *name, int name_len,
- u64 ref_objectid, u64 objectid, int mode,
- u64 *index)
+ u64 ref_objectid, u64 objectid,
+ umode_t mode, u64 *index)
{
struct inode *inode;
struct btrfs_inode_item *inode_item;