diff options
Diffstat (limited to 'fs/reiserfs/inode.c')
| -rw-r--r-- | fs/reiserfs/inode.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index 55fce92cdf18..823227a7662a 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c  | |||
| @@ -53,7 +53,7 @@ void reiserfs_delete_inode(struct inode *inode) | |||
| 53 | * after delete_object so that quota updates go into the same transaction as | 53 | * after delete_object so that quota updates go into the same transaction as | 
| 54 | * stat data deletion */ | 54 | * stat data deletion */ | 
| 55 | if (!err) | 55 | if (!err) | 
| 56 | DQUOT_FREE_INODE(inode); | 56 | vfs_dq_free_inode(inode); | 
| 57 | 57 | ||
| 58 | if (journal_end(&th, inode->i_sb, jbegin_count)) | 58 | if (journal_end(&th, inode->i_sb, jbegin_count)) | 
| 59 | goto out; | 59 | goto out; | 
| @@ -1763,7 +1763,7 @@ int reiserfs_new_inode(struct reiserfs_transaction_handle *th, | |||
| 1763 | 1763 | ||
| 1764 | BUG_ON(!th->t_trans_id); | 1764 | BUG_ON(!th->t_trans_id); | 
| 1765 | 1765 | ||
| 1766 | if (DQUOT_ALLOC_INODE(inode)) { | 1766 | if (vfs_dq_alloc_inode(inode)) { | 
| 1767 | err = -EDQUOT; | 1767 | err = -EDQUOT; | 
| 1768 | goto out_end_trans; | 1768 | goto out_end_trans; | 
| 1769 | } | 1769 | } | 
| @@ -1947,12 +1947,12 @@ int reiserfs_new_inode(struct reiserfs_transaction_handle *th, | |||
| 1947 | INODE_PKEY(inode)->k_objectid = 0; | 1947 | INODE_PKEY(inode)->k_objectid = 0; | 
| 1948 | 1948 | ||
| 1949 | /* Quota change must be inside a transaction for journaling */ | 1949 | /* Quota change must be inside a transaction for journaling */ | 
| 1950 | DQUOT_FREE_INODE(inode); | 1950 | vfs_dq_free_inode(inode); | 
| 1951 | 1951 | ||
| 1952 | out_end_trans: | 1952 | out_end_trans: | 
| 1953 | journal_end(th, th->t_super, th->t_blocks_allocated); | 1953 | journal_end(th, th->t_super, th->t_blocks_allocated); | 
| 1954 | /* Drop can be outside and it needs more credits so it's better to have it outside */ | 1954 | /* Drop can be outside and it needs more credits so it's better to have it outside */ | 
| 1955 | DQUOT_DROP(inode); | 1955 | vfs_dq_drop(inode); | 
| 1956 | inode->i_flags |= S_NOQUOTA; | 1956 | inode->i_flags |= S_NOQUOTA; | 
| 1957 | make_bad_inode(inode); | 1957 | make_bad_inode(inode); | 
| 1958 | 1958 | ||
| @@ -3119,7 +3119,7 @@ int reiserfs_setattr(struct dentry *dentry, struct iattr *attr) | |||
| 3119 | if (error) | 3119 | if (error) | 
| 3120 | goto out; | 3120 | goto out; | 
| 3121 | error = | 3121 | error = | 
| 3122 | DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0; | 3122 | vfs_dq_transfer(inode, attr) ? -EDQUOT : 0; | 
| 3123 | if (error) { | 3123 | if (error) { | 
| 3124 | journal_end(&th, inode->i_sb, | 3124 | journal_end(&th, inode->i_sb, | 
| 3125 | jbegin_count); | 3125 | jbegin_count); | 
