Folks,
Need your help!

I am writing a new filesystem (ifs). Bumped into a bug that cannot
resolve. under kernel 2.2.14_smp in ifs_mkdir I was getting OOPSes due to
NULL pointer dereference. Nailed it down to the line (essentially the same
as in ext2):
inode->i_mode=S_IFDIR | (mode & (S_IRWXUGO|S_ISVTX) & ~current->fs->umask);

and further to current->fs being NULL.
On the same machine (which has 2 cpu's) same kernel with the same ifs
module compiled with no SMP does not have this problem.

Does anyone have a clue where can I start looking to fix this?

Any help greatly appreciated.

Dennis Gerasimov

Reply via email to