Why generic_forget_inode() is not exported?
Hello,
I have a question about EXPORTS in VEFS:
if sb->drop_inode method is set, than it's called in iput_final().
But it's impossible to call neither generic_drop_inode(), nor generic_forget_inode() inside this handler. Only generic_delete_inode() is accessiable.
why generic_delete_inode() is exported and generic_forget_inode() is not? It looks like it should. At least, from VFS interface point of view.
Kirill
Quoted 10 lines · Kirill Korotaev
Hello,
I have a question about EXPORTS in VEFS:
ifsb->drop_inodemethod is set, than it's called iniput_final(). But it's impossible to call neithergeneric_drop_inode(), norgeneric_forget_inode()inside this handler. Onlygeneric_delete_inode()is accessiable.why
generic_delete_inode()is exported andgeneric_forget_inode()is not? It looks like it should. At least, from VFS interface point of view.
Because a) there's no intree user and b) people haven't explained why they need it.