diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 02:50:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:00 -0500 |
commit | 576b1d67ce949e7542ff765b00eb5357e706768b (patch) | |
tree | de2c2e2a4592e98f8fc3638ddba1dbb8954ddbe6 /fs/xfs/xfs_inode.c | |
parent | dd716e64d60f2ad40e0da7db426d4bfc7eabd5d7 (diff) | |
download | op-kernel-dev-576b1d67ce949e7542ff765b00eb5357e706768b.zip op-kernel-dev-576b1d67ce949e7542ff765b00eb5357e706768b.tar.gz |
xfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 755ee81..9dda7cc 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -961,7 +961,7 @@ int xfs_ialloc( xfs_trans_t *tp, xfs_inode_t *pip, - mode_t mode, + umode_t mode, xfs_nlink_t nlink, xfs_dev_t rdev, prid_t prid, @@ -1002,7 +1002,7 @@ xfs_ialloc( return error; ASSERT(ip != NULL); - ip->i_d.di_mode = (__uint16_t)mode; + ip->i_d.di_mode = mode; ip->i_d.di_onlink = 0; ip->i_d.di_nlink = nlink; ASSERT(ip->i_d.di_nlink == nlink); |