--- inode_ops.c~ 2005-10-06 21:54:52.000000000 +0400 +++ inode_ops.c 2005-12-15 21:56:55.927839866 +0300 @@ -90,6 +90,8 @@ memset(&data, 0, sizeof data); data.mode = S_IFREG | mode; + if (!inode_regular_plugin(parent)) + return -EINVAL; data.id = inode_regular_plugin(parent)->id; return invoke_create_method(parent, dentry, &data); }