mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
ext4: introduce EXPORT_SYMBOL_FOR_EXT4_TEST() helper
Introduce EXPORT_SYMBOL_FOR_EXT4_TEST() helper for kuint test. Signed-off-by: Ye Bin <yebin10@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://patch.msgid.link/20260314075258.1317579-2-yebin@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
bac3190a8e
commit
49504a5125
|
|
@ -3944,6 +3944,11 @@ static inline bool ext4_inode_can_atomic_write(struct inode *inode)
|
|||
extern int ext4_block_write_begin(handle_t *handle, struct folio *folio,
|
||||
loff_t pos, unsigned len,
|
||||
get_block_t *get_block);
|
||||
|
||||
#if IS_ENABLED(CONFIG_EXT4_KUNIT_TESTS)
|
||||
#define EXPORT_SYMBOL_FOR_EXT4_TEST(sym) \
|
||||
EXPORT_SYMBOL_FOR_MODULES(sym, "ext4-test")
|
||||
#endif
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif /* _EXT4_H */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user