mirror of
https://github.com/schoebel/mars
synced 2025-04-01 22:58:34 +00:00
compat: add MARS_HAS_OLD_BDGET
This commit is contained in:
parent
1552198e6b
commit
af9106c191
@ -231,6 +231,17 @@ extern int __oldcompat_unlink(
|
||||
#define USE_NEW_MARS_RENAME
|
||||
#endif
|
||||
|
||||
/* Enable MARS_HAS_OLD_BDGET where it was necessary
|
||||
* in the past. Not to b e confused with the old
|
||||
* MARS_HAS_BDI_GET.
|
||||
* Togegther, this should disappear in the long term.
|
||||
*/
|
||||
#if defined(MARS_HAS_PREPATCH) || \
|
||||
(defined(MARS_HAS_PREPATCH_V3) && \
|
||||
!defined(MARS_NEW_BLK_ALLOC_QUEUE))
|
||||
#define MARS_HAS_OLD_BDGET
|
||||
#endif
|
||||
|
||||
/* IO accounting */
|
||||
|
||||
/* adapt to 394ffa503bc40e32d7f54a9b817264e81ce131b4
|
||||
|
Loading…
Reference in New Issue
Block a user