Skip to contentSkip to conversation

Why generic_forget_inode() is not exported?

VFS-EXPORTS Kirill Korotaev 2 participants 2 messages Dec 11, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Kirill Korotaev

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.

Because a) there's no intree user and b) people haven't explained why they need it.