summaryrefslogtreecommitdiffstats
path: root/fs/freevxfs
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/freevxfs
parent030a8ba48fa6fa2a1304bab5b0f49360613c4af2 (diff)
downloadop-kernel-dev-175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13.zip
op-kernel-dev-175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13.tar.gz
fs: propagate umode_t, misc bits
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/freevxfs')
-rw-r--r--fs/freevxfs/vxfs_inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c
index 41ef6e7..cf9ef91 100644
--- a/fs/freevxfs/vxfs_inode.c
+++ b/fs/freevxfs/vxfs_inode.c
@@ -187,10 +187,10 @@ vxfs_stiget(struct super_block *sbp, ino_t ino)
* vxfs_transmod returns a Linux mode_t for a given
* VxFS inode structure.
*/
-static __inline__ mode_t
+static __inline__ umode_t
vxfs_transmod(struct vxfs_inode_info *vip)
{
- mode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK;
+ umode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK;
if (VXFS_ISFIFO(vip))
ret |= S_IFIFO;
OpenPOWER on IntegriCloud