@@ -1297,7 +1297,7 @@ int reiserfs_delete_item(struct reiserfs_transaction_handle *th, struct treepath
12971297 "reiserquota delete_item(): freeing %u, id=%u type=%c" ,
12981298 quota_cut_bytes , p_s_inode -> i_uid , head2type (& s_ih ));
12991299#endif
1300- DQUOT_FREE_SPACE_NODIRTY (p_s_inode , quota_cut_bytes );
1300+ vfs_dq_free_space_nodirty (p_s_inode , quota_cut_bytes );
13011301
13021302 /* Return deleted body length */
13031303 return n_ret_value ;
@@ -1383,7 +1383,7 @@ void reiserfs_delete_solid_item(struct reiserfs_transaction_handle *th,
13831383 quota_cut_bytes , inode -> i_uid ,
13841384 key2type (key ));
13851385#endif
1386- DQUOT_FREE_SPACE_NODIRTY (inode ,
1386+ vfs_dq_free_space_nodirty (inode ,
13871387 quota_cut_bytes );
13881388 }
13891389 break ;
@@ -1734,7 +1734,7 @@ int reiserfs_cut_from_item(struct reiserfs_transaction_handle *th,
17341734 "reiserquota cut_from_item(): freeing %u id=%u type=%c" ,
17351735 quota_cut_bytes , p_s_inode -> i_uid , '?' );
17361736#endif
1737- DQUOT_FREE_SPACE_NODIRTY (p_s_inode , quota_cut_bytes );
1737+ vfs_dq_free_space_nodirty (p_s_inode , quota_cut_bytes );
17381738 return n_ret_value ;
17391739}
17401740
@@ -1971,7 +1971,7 @@ int reiserfs_paste_into_item(struct reiserfs_transaction_handle *th, struct tree
19711971 key2type (& (p_s_key -> on_disk_key )));
19721972#endif
19731973
1974- if (DQUOT_ALLOC_SPACE_NODIRTY (inode , n_pasted_size )) {
1974+ if (vfs_dq_alloc_space_nodirty (inode , n_pasted_size )) {
19751975 pathrelse (p_s_search_path );
19761976 return - EDQUOT ;
19771977 }
@@ -2027,7 +2027,7 @@ int reiserfs_paste_into_item(struct reiserfs_transaction_handle *th, struct tree
20272027 n_pasted_size , inode -> i_uid ,
20282028 key2type (& (p_s_key -> on_disk_key )));
20292029#endif
2030- DQUOT_FREE_SPACE_NODIRTY (inode , n_pasted_size );
2030+ vfs_dq_free_space_nodirty (inode , n_pasted_size );
20312031 return retval ;
20322032}
20332033
@@ -2060,7 +2060,7 @@ int reiserfs_insert_item(struct reiserfs_transaction_handle *th, struct treepath
20602060#endif
20612061 /* We can't dirty inode here. It would be immediately written but
20622062 * appropriate stat item isn't inserted yet... */
2063- if (DQUOT_ALLOC_SPACE_NODIRTY (inode , quota_bytes )) {
2063+ if (vfs_dq_alloc_space_nodirty (inode , quota_bytes )) {
20642064 pathrelse (p_s_path );
20652065 return - EDQUOT ;
20662066 }
@@ -2112,6 +2112,6 @@ int reiserfs_insert_item(struct reiserfs_transaction_handle *th, struct treepath
21122112 quota_bytes , inode -> i_uid , head2type (p_s_ih ));
21132113#endif
21142114 if (inode )
2115- DQUOT_FREE_SPACE_NODIRTY (inode , quota_bytes );
2115+ vfs_dq_free_space_nodirty (inode , quota_bytes );
21162116 return retval ;
21172117}
0 commit comments