Messages in this thread | | | Date | Mon, 25 Oct 1999 09:39:17 +0100 (BST) | From | Tigran Aivazian <> | Subject | question for VFS/dcache experts. |
| |
Hello,
Does the lookup() method for a filesystem need to add negative dentry for the case when filename is too long or should it d_add() a negative dentry (inode=NULL).
Minix adds negative dentry by making minix_find_entry() fail and effectively doing d_add(dentry, NULL) and returning NULL.
Ext2 returns ERR_PTR(-ENAMETOOLONG) from ext2_lookup().
Which one is right? If I knew dcache internals well enough I would be able to make the right decision.
Does anyone have a suggestion?
Thanks, Tigran.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |