Commit 5864346
xfs: also use xfs_bmap_btalloc_accounting for RT allocations
Make xfs_bmap_btalloc_accounting more generic by handling the RT quota
reservations and then also use it from xfs_bmap_rtalloc instead of
open coding the accounting logic there.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>1 parent eef519d commit 5864346
3 files changed
Lines changed: 17 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3263 | 3263 | | |
3264 | 3264 | | |
3265 | 3265 | | |
3266 | | - | |
3267 | | - | |
| 3266 | + | |
| 3267 | + | |
3268 | 3268 | | |
3269 | 3269 | | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
3270 | 3274 | | |
3271 | 3275 | | |
3272 | 3276 | | |
| |||
3291 | 3295 | | |
3292 | 3296 | | |
3293 | 3297 | | |
3294 | | - | |
| 3298 | + | |
| 3299 | + | |
3295 | 3300 | | |
3296 | 3301 | | |
3297 | 3302 | | |
| |||
3302 | 3307 | | |
3303 | 3308 | | |
3304 | 3309 | | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
3305 | 3313 | | |
3306 | | - | |
3307 | | - | |
3308 | | - | |
| 3314 | + | |
| 3315 | + | |
3309 | 3316 | | |
3310 | 3317 | | |
3311 | 3318 | | |
| |||
3379 | 3386 | | |
3380 | 3387 | | |
3381 | 3388 | | |
3382 | | - | |
| 3389 | + | |
3383 | 3390 | | |
3384 | 3391 | | |
3385 | 3392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 171 | + | |
182 | 172 | | |
183 | 173 | | |
184 | 174 | | |
| |||
0 commit comments