Question about percpu_free_rwsem function
Hi,
I got a trouble while I am developing a patch for EXT4 filesytem. Actually, I used a percpu rw semaphore in my patch and there was no problem when I built EXT4 filesystem as built-in mode. However, when kbuild auto build robot built EXT4 filesystem with my patch as a "module", a bulid error occurred because percpu_free_rwsem() function is not exported.
I noticed that other functions except percpu_free_rwsem() were exported in 2015. Is there any reason for percpu_free_rwsem() not to be exported?
If I need the function to be exported, should I do that in my patch? :-)
Best Regards,
Quoted 11 lines · Daeho Jeong
Hi,
I got a trouble while I am developing a patch for EXT4 filesytem. Actually, I used a percpu rw semaphore in my patch and there was no problem when I built EXT4 filesystem as built-in mode. However, when kbuild auto build robot built EXT4 filesystem with my patch as a "module", a bulid error occurred because
percpu_free_rwsem()function is not exported.I noticed that other functions except
percpu_free_rwsem()were exported in 2015. Is there any reason forpercpu_free_rwsem()not to be exported?
If I need the function to be exported, should I do that in my patch? :-)
Sounds like a question for the ext4 maintainers. You can find them in the MAINTAINERS file.
Thanx, Paul