1 --- linux-2.6.7.orig/fs/namei.c 2005-04-01 11:14:26.000000000 +0300
2 +++ linux-2.6.7/fs/namei.c 2005-04-01 11:23:01.748305104 +0300
3 @@ -762,6 +762,13 @@ last_component:
4 inode = nd->dentry->d_inode;
7 + if (lookup_flags & LOOKUP_DIRECTORY) {
9 + if (!nd->dentry->d_inode->i_op ||
10 + !nd->dentry->d_inode->i_op->lookup) {
16 if (nd->dentry->d_op && nd->dentry->d_op->d_hash) {