mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-20 23:14:23 +00:00
Adjust for __assign_str() losing second argument
In v6.8-9146-gc759e609030c, the second argument for __assign_str() was removed, as the second parameter is already derived from the __string() definition and no longer needed. We have to do a little digging in headers here to find the definition. Note the missing `;` at a few places... it has to be added now. Signed-off-by: Auke Kok <auke.kok@versity.com>
This commit is contained in:
@@ -314,6 +314,12 @@ static inline long inode_get_atime_nsec(const struct inode *inode)
|
||||
#define KC_BDEV_MAPPING(b) (b)->bd_mapping
|
||||
#endif
|
||||
|
||||
#ifdef KC_HAVE_ASSIGN_STR_PARMS
|
||||
#define kc__assign_str(a, b) __assign_str(a, b)
|
||||
#else
|
||||
#define kc__assign_str(a, b) __assign_str(a)
|
||||
#endif
|
||||
|
||||
#ifndef KC_TIMER_CONTAINER_OF
|
||||
#define timer_container_of(var, callback_timer, timer_fieldname) \
|
||||
from_timer(var, callback_timer, timer_fieldname)
|
||||
|
||||
Reference in New Issue
Block a user