ACPI / proc: make ACPI_PROCFS_POWER X86 only
[linux-2.6-microblaze.git] / fs / ncpfs / symlink.c
index 1a63bfd..421b6f9 100644 (file)
@@ -156,7 +156,7 @@ int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) {
                goto failfree;
        }
 
-       inode=dentry->d_inode;
+       inode=d_inode(dentry);
 
        if (ncp_make_open(inode, O_WRONLY))
                goto failfree;