Home
last modified time | relevance | path

Searched refs:hsb (Results 1 – 2 of 2) sorted by relevance

/fs/hfs/
Dsuper.c224 static int parse_options(char *options, struct hfs_sb_info *hsb) in parse_options() argument
231 hsb->s_uid = current_uid(); in parse_options()
232 hsb->s_gid = current_gid(); in parse_options()
233 hsb->s_file_umask = 0133; in parse_options()
234 hsb->s_dir_umask = 0022; in parse_options()
235 hsb->s_type = hsb->s_creator = cpu_to_be32(0x3f3f3f3f); /* == '????' */ in parse_options()
236 hsb->s_quiet = 0; in parse_options()
237 hsb->part = -1; in parse_options()
238 hsb->session = -1; in parse_options()
254 hsb->s_uid = make_kuid(current_user_ns(), (uid_t)tmp); in parse_options()
[all …]
Dinode.c317 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_read_inode() local
327 inode->i_uid = hsb->s_uid; in hfs_read_inode()
328 inode->i_gid = hsb->s_gid; in hfs_read_inode()
352 inode->i_mode &= ~hsb->s_file_umask; in hfs_read_inode()
364 inode->i_mode = S_IFDIR | (S_IRWXUGO & ~hsb->s_dir_umask); in hfs_read_inode()
613 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_inode_setattr() local
622 (!uid_eq(attr->ia_uid, hsb->s_uid))) || in hfs_inode_setattr()
624 (!gid_eq(attr->ia_gid, hsb->s_gid))) || in hfs_inode_setattr()
629 return hsb->s_quiet ? 0 : error; in hfs_inode_setattr()
638 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; in hfs_inode_setattr()