Searched refs:qf_inode (Results 1 – 2 of 2) sorted by relevance
2778 struct inode *qf_inode; in f2fs_quota_enable() local2789 qf_inode = f2fs_iget(sb, qf_inum); in f2fs_quota_enable()2790 if (IS_ERR(qf_inode)) { in f2fs_quota_enable()2792 return PTR_ERR(qf_inode); in f2fs_quota_enable()2796 inode_lock(qf_inode); in f2fs_quota_enable()2797 qf_inode->i_flags |= S_NOQUOTA; in f2fs_quota_enable()2799 if ((F2FS_I(qf_inode)->i_flags & qf_flag) != qf_flag) { in f2fs_quota_enable()2800 F2FS_I(qf_inode)->i_flags |= qf_flag; in f2fs_quota_enable()2801 f2fs_set_inode_flags(qf_inode); in f2fs_quota_enable()2803 inode_unlock(qf_inode); in f2fs_quota_enable()[all …]
7020 struct inode *qf_inode; in ext4_quota_enable() local7038 qf_inode = ext4_iget(sb, qf_inums[type], EXT4_IGET_SPECIAL); in ext4_quota_enable()7039 if (IS_ERR(qf_inode)) { in ext4_quota_enable()7042 return PTR_ERR(qf_inode); in ext4_quota_enable()7046 qf_inode->i_flags |= S_NOQUOTA; in ext4_quota_enable()7047 lockdep_set_quota_inode(qf_inode, I_DATA_SEM_QUOTA); in ext4_quota_enable()7048 err = dquot_load_quota_inode(qf_inode, type, format_id, flags); in ext4_quota_enable()7050 lockdep_set_quota_inode(qf_inode, I_DATA_SEM_NORMAL); in ext4_quota_enable()7051 iput(qf_inode); in ext4_quota_enable()