Merge the _node vs normal version and drop the superflous gfp_t argument.
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -36,11 +36,7 @@ int bdi_register_va(struct backing_dev_info *bdi, const char *fmt, · 35 unmodified lines | ||
| 36 | 36 | void bdi_set_owner(struct backing_dev_info *bdi, struct device *owner); |
| 37 | 37 | void bdi_unregister(struct backing_dev_info *bdi); |
| 38 | 38 | |
| 39 | −struct backing_dev_info *bdi_alloc_node(gfp_t gfp_mask, int node_id); | |
| 40 | −static inline struct backing_dev_info *bdi_alloc(gfp_t gfp_mask) | |
| 41 | −{ | |
| 42 | − return bdi_alloc_node(gfp_mask, NUMA_NO_NODE); | |
| 43 | −} | |
| 39 | +struct backing_dev_info *bdi_alloc(int node_id); | |
| 44 | 40 | |
| 45 | 41 | void wb_start_background_writeback(struct bdi_writeback *wb); |
| 46 | 42 | void wb_workfn(struct work_struct *work); |