namei.c:

+               read_lock(&current->fs->lock);
+               struct dentry *saferoot = current->fs->saferoot;
+               if (saferoot != NULL){

I think should be:

                struct dentry *saferoot;
                read_lock(&current->fs->lock);
                saferoot = current->fs->saferoot;
                if (saferoot != NULL){

I got a compile error when building an SMP kernel.

Sam.

Reply via email to