Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dsuper.c2744 struct inode *qf_inode; in f2fs_quota_enable() local
2755 qf_inode = f2fs_iget(sb, qf_inum); in f2fs_quota_enable()
2756 if (IS_ERR(qf_inode)) { in f2fs_quota_enable()
2758 return PTR_ERR(qf_inode); in f2fs_quota_enable()
2762 inode_lock(qf_inode); in f2fs_quota_enable()
2763 qf_inode->i_flags |= S_NOQUOTA; in f2fs_quota_enable()
2765 if ((F2FS_I(qf_inode)->i_flags & qf_flag) != qf_flag) { in f2fs_quota_enable()
2766 F2FS_I(qf_inode)->i_flags |= qf_flag; in f2fs_quota_enable()
2767 f2fs_set_inode_flags(qf_inode); in f2fs_quota_enable()
2769 inode_unlock(qf_inode); in f2fs_quota_enable()
[all …]
/openbmc/linux/fs/ext4/
H A Dsuper.c7045 struct inode *qf_inode; in ext4_quota_enable() local
7063 qf_inode = ext4_iget(sb, qf_inums[type], EXT4_IGET_SPECIAL); in ext4_quota_enable()
7064 if (IS_ERR(qf_inode)) { in ext4_quota_enable()
7067 return PTR_ERR(qf_inode); in ext4_quota_enable()
7071 qf_inode->i_flags |= S_NOQUOTA; in ext4_quota_enable()
7072 lockdep_set_quota_inode(qf_inode, I_DATA_SEM_QUOTA); in ext4_quota_enable()
7073 err = dquot_load_quota_inode(qf_inode, type, format_id, flags); in ext4_quota_enable()
7075 lockdep_set_quota_inode(qf_inode, I_DATA_SEM_NORMAL); in ext4_quota_enable()
7076 iput(qf_inode); in ext4_quota_enable()