vfs_unlink() >=2.5.5-pre1 question

From: Mike Galbraith (mikeg@wen-online.de)
Date: Sat Mar 30 2002 - 08:03:53 EST


Hi,

d_delete() doesn't appear to ever create negative dentries when
called via vfs_unlink() due to the extra reference on the dentry.
In fact, a printk() in the d_delete() spot never ever triggers...

This could explain the behavior change, wherein rm -r on a large
directory no longer works in ramfs/tmpfs, because the dentries are
now destroyed instead of going negative. [1] Is it intentional
that no negative dentries are created via vfs_unlink() method?

        -Mike

1. if that's true, memory pressure could make readdir fail too.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:19 EST