mirror of
https://github.com/schoebel/mars
synced 2025-04-01 22:58:34 +00:00
compat: new MARS_USE_BLK_CHECK_PLUGGER
This commit is contained in:
parent
22e0c6183e
commit
9778bc7470
@ -344,6 +344,14 @@ extern int __oldcompat_unlink(
|
||||
#define MARS_USE_VFS_GETATTR
|
||||
#endif
|
||||
|
||||
/* Prefer new blk_check_plugged()
|
||||
* in place of q->unplug_fn
|
||||
*/
|
||||
#if defined(MARS_HAS_PREPATCH_V3) && \
|
||||
!defined(MARS_HAS_PREPATCH_V3a)
|
||||
#define MARS_USE_BLK_CHECK_PLUGGER
|
||||
#endif
|
||||
|
||||
/* for mm stuff, should disappear */
|
||||
|
||||
/* adapt to 68e21be2916b359fd8afb536c1911dc014cfd03e
|
||||
|
Loading…
Reference in New Issue
Block a user