diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:30:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:10 -0500 |
commit | 175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13 (patch) | |
tree | 841812b19b8a5546e472be321b32ca58528b76c3 /fs/freevxfs/vxfs_inode.c | |
parent | 030a8ba48fa6fa2a1304bab5b0f49360613c4af2 (diff) | |
download | lwn-175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13.tar.gz lwn-175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13.zip |
fs: propagate umode_t, misc bits
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/freevxfs/vxfs_inode.c')
-rw-r--r-- | fs/freevxfs/vxfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index 41ef6e715d2f..cf9ef918a2a9 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; |