mm: bdi init hooks
provide BDI constructor/destructor hooks [akpm@linux-foundation.org: compile fix] Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
dc62a30e27
commit
e0bf68ddec
19 changed files with 131 additions and 7 deletions
|
@ -34,6 +34,14 @@ struct backing_dev_info {
|
|||
void *unplug_io_data;
|
||||
};
|
||||
|
||||
static inline int bdi_init(struct backing_dev_info *bdi)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline void bdi_destroy(struct backing_dev_info *bdi)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Flags in backing_dev_info::capability
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue