Commit 48a325a
xfs: remove xfs_buf_is_vmapped
No need to look at the page count if we can simply call is_vmalloc_addr
on bp->b_addr. This prepares for eventualy removing the b_page_count
field.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>1 parent 51e1099 commit 48a325a
1 file changed
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 58 | | |
73 | 59 | | |
74 | 60 | | |
| |||
212 | 198 | | |
213 | 199 | | |
214 | 200 | | |
215 | | - | |
| 201 | + | |
216 | 202 | | |
217 | 203 | | |
218 | 204 | | |
| |||
1298 | 1284 | | |
1299 | 1285 | | |
1300 | 1286 | | |
1301 | | - | |
| 1287 | + | |
1302 | 1288 | | |
1303 | 1289 | | |
1304 | 1290 | | |
| |||
1479 | 1465 | | |
1480 | 1466 | | |
1481 | 1467 | | |
1482 | | - | |
| 1468 | + | |
1483 | 1469 | | |
1484 | 1470 | | |
1485 | 1471 | | |
| |||
0 commit comments