Skip to contentSkip to conversation

oddity in v9fs_kill_super()

DISCUSSION Al Viro 2 participants 2 messages May 6, 2009 – May 11, 2009 VFS

lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

Is there any reason to do v9fs_dentry_release(s->s_root) in ->kill_sb()? It is called when root dentry is freed and it will be freed just fine...

#1 lore raw
Quoted 3 lines · Al Viro

Is there any reason to do v9fs_dentry_release(s->s_root) in ->kill_sb()? It is called when root dentry is freed and it will be freed just fine...

Most likely unnecessary early paranoia on my part - I think that's been in there since 2.6.14.
I'll look into removing it.

-eric