Searched refs:hsb (Results 1 – 2 of 2) sorted by relevance
223 static int parse_options(char *options, struct hfs_sb_info *hsb) in parse_options() argument230 hsb->s_uid = current_uid(); in parse_options()231 hsb->s_gid = current_gid(); in parse_options()232 hsb->s_file_umask = 0133; in parse_options()233 hsb->s_dir_umask = 0022; in parse_options()234 hsb->s_type = hsb->s_creator = cpu_to_be32(0x3f3f3f3f); /* == '????' */ in parse_options()235 hsb->s_quiet = 0; in parse_options()236 hsb->part = -1; in parse_options()237 hsb->session = -1; in parse_options()253 hsb->s_uid = make_kuid(current_user_ns(), (uid_t)tmp); in parse_options()[all …]
321 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_read_inode() local331 inode->i_uid = hsb->s_uid; in hfs_read_inode()332 inode->i_gid = hsb->s_gid; in hfs_read_inode()356 inode->i_mode &= ~hsb->s_file_umask; in hfs_read_inode()368 inode->i_mode = S_IFDIR | (S_IRWXUGO & ~hsb->s_dir_umask); in hfs_read_inode()618 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_inode_setattr() local628 (!uid_eq(attr->ia_uid, hsb->s_uid))) || in hfs_inode_setattr()630 (!gid_eq(attr->ia_gid, hsb->s_gid))) || in hfs_inode_setattr()635 return hsb->s_quiet ? 0 : error; in hfs_inode_setattr()644 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; in hfs_inode_setattr()