X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_vfs_single.c;h=9bceaa318e93151ceee953872b973ddef7e913d2;hp=63f0e3db8181f5b3405266c87930e3fe4a0582fc;hb=cf6888f05f691aa1a357e7e94f9bf7b98174bbc3;hpb=1d65367807dc6c75458c2926b17727ae0765a856 diff --git a/yaffs_vfs_single.c b/yaffs_vfs_single.c index 63f0e3d..9bceaa3 100644 --- a/yaffs_vfs_single.c +++ b/yaffs_vfs_single.c @@ -926,7 +926,7 @@ static void yaffs_fill_inode_from_obj(struct inode *inode, yaffs_obj_t *obj) /* Check mode against the variant type and attempt to repair if broken. */ - __u32 mode = obj->yst_mode; + u32 mode = obj->yst_mode; switch (obj->variant_type) { case YAFFS_OBJECT_TYPE_FILE: if (!S_ISREG(mode)) {