vfs_rmdir "bug"?

2007-12-23 Thread Erez Zadok
Al, Christoph, vfs_rmdir is called from do_rmdir and does essentially this: dentry_unhash(dentry); error = dir->i_op->rmdir(dir, dentry); if (!error) d_delete(dentry); dput(dentry); do_rmdir grabs a ref on the dentry to be rmdir'ed, and also

vfs_rmdir bug?

2007-12-23 Thread Erez Zadok
Al, Christoph, vfs_rmdir is called from do_rmdir and does essentially this: dentry_unhash(dentry); error = dir-i_op-rmdir(dir, dentry); if (!error) d_delete(dentry); dput(dentry); do_rmdir grabs a ref on the dentry to be rmdir'ed, and also dput's