diff options
author | Brian Behlendorf <[email protected]> | 2015-02-27 16:09:52 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-03-03 10:49:45 -0800 |
commit | 8c45def24a5c640a3b44ce38cc3482b9c89a3b1d (patch) | |
tree | a88901f913e55303e45c3bb491ee004ce2a336de /module/zcommon | |
parent | 4ec15b8dcf8038aeb15c7877c50d0fa500b468c6 (diff) |
Linux 4.0 compat: bdi_setup_and_register()
The 'capabilities' argument which was passed to bdi_setup_and_register()
has been removed. File systems should no longer pass BDI_CAP_MAP_COPY.
For our purposes this means there are now three different interfaces
which must be handled. A zpl_bdi_setup_and_register() wrapper function
has been introduced to provide a single interface to the ZPL code.
* 2.6.32 - 2.6.33, bdi_setup_and_register() is not exported.
* 2.6.34 - 3.19, bdi_setup_and_register() takes 3 arguments.
* 4.0 - x.y, bdi_setup_and_register() takes 2 arguments.
I've also taken this opportunity to remove HAVE_BDI because kernels
older then 2.6.32 are no longer supported. All kernels newer than
this will have one of the above interfaces.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Closes #3128
Diffstat (limited to 'module/zcommon')
0 files changed, 0 insertions, 0 deletions