VFS cleanup in 2.0.30

James R. Leu (jleu@chaos.coredcs.com)
Fri, 11 Jul 1997 12:32:20 -0500 (CDT)


I have been playing around in the VFS and have noticed an inconsistency with
some VFS function cleaning up in the VFS while other let the FS layer take care
of it.

For example sys_unlink() uses dir_namei() to grab an inode. It passes this
inode to the appropriate unlink() in the FS layer. The FS layer then does
an iput() to clean up then exits. While sys_symlink() use dir_namei() to
get an inode, it passes it into the FS layer. The FS layers exists and then
VFS layer does the iput().

I may be behind in the times, I am working on the 2.0.30 kernel.

Is there a reason why I can't make all the VFS sys_ calls consistent in doing
all of the clean up in VFS?

James

-- 
James R. Leu
jleu@coredcs.com