Messages in this thread | | | Subject | should delete_inode be allowed to be called from shrink_dcache? | From | Vladimir Saveliev <> | Date | Sat, 27 Nov 2004 14:40:57 +0300 |
| |
Hello
Is there anything wrong that
mkdir dir cd dir rmdir ../dir ls file cd ..
leaves after itself two dentries - negative one ("file") and dentry of directory "dir" which is attached to inode of that directory?
After that a process may get into somefs_delete_inode trying to free pages by shrinking dcache (it will first free negative dentry and then its parent). If process is doing that being already in somefs_write (for example) some filesystems may have problems.
Thanks
- 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/
| |