fs: propagate umode_t, misc bits

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-07-26 03:30:54 -04:00
parent 030a8ba48f
commit 175a4eb7ea
9 changed files with 17 additions and 17 deletions

View File

@@ -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;