Question about percpu_free_rwsem function

From: Daeho Jeong
Date: Sun Mar 06 2016 - 22:29:24 EST


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,