]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ncpfs/ncplib_kernel.h
r8169: revert "read MAC address from EEPROM on init"
[linux-2.6-omap-h63xx.git] / fs / ncpfs / ncplib_kernel.h
index 9e4dc30c2435c207ddce4d2c67311db24429d457..2441d1ab57dc57abe66ba24126b3b9221b1692bc 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef _NCPLIB_H
 #define _NCPLIB_H
 
-#include <linux/config.h>
 
 #include <linux/fs.h>
 #include <linux/types.h>
@@ -196,7 +195,7 @@ ncp_renew_dentries(struct dentry *parent)
        spin_lock(&dcache_lock);
        next = parent->d_subdirs.next;
        while (next != &parent->d_subdirs) {
-               dentry = list_entry(next, struct dentry, d_child);
+               dentry = list_entry(next, struct dentry, d_u.d_child);
 
                if (dentry->d_fsdata == NULL)
                        ncp_age_dentry(server, dentry);
@@ -218,7 +217,7 @@ ncp_invalidate_dircache_entries(struct dentry *parent)
        spin_lock(&dcache_lock);
        next = parent->d_subdirs.next;
        while (next != &parent->d_subdirs) {
-               dentry = list_entry(next, struct dentry, d_child);
+               dentry = list_entry(next, struct dentry, d_u.d_child);
                dentry->d_fsdata = NULL;
                ncp_age_dentry(server, dentry);
                next = next->next;