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 | |
parent | 030a8ba48fa6fa2a1304bab5b0f49360613c4af2 (diff) |
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.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) | |||
187 | * vxfs_transmod returns a Linux mode_t for a given | 187 | * vxfs_transmod returns a Linux mode_t for a given |
188 | * VxFS inode structure. | 188 | * VxFS inode structure. |
189 | */ | 189 | */ |
190 | static __inline__ mode_t | 190 | static __inline__ umode_t |
191 | vxfs_transmod(struct vxfs_inode_info *vip) | 191 | vxfs_transmod(struct vxfs_inode_info *vip) |
192 | { | 192 | { |
193 | mode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK; | 193 | umode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK; |
194 | 194 | ||
195 | if (VXFS_ISFIFO(vip)) | 195 | if (VXFS_ISFIFO(vip)) |
196 | ret |= S_IFIFO; | 196 | ret |= S_IFIFO; |