X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fsmbfs%2Fcache.c;h=8c177eb7e3447175158f77aecb28be5e678bd770;hb=99039e1352fa451bd46e2c020dc78bcaf2a159d9;hp=74b86d9725a63cce6a65ad53514cecc3d9437a82;hpb=0a3a98f6dd4e8f4d928a09302c0d1c56f2192ac3;p=linux-2.6 diff --git a/fs/smbfs/cache.c b/fs/smbfs/cache.c index 74b86d9725..8c177eb7e3 100644 --- a/fs/smbfs/cache.c +++ b/fs/smbfs/cache.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include @@ -125,7 +124,7 @@ smb_fill_cache(struct file *filp, void *dirent, filldir_t filldir, struct smb_cache_control *ctrl, struct qstr *qname, struct smb_fattr *entry) { - struct dentry *newdent, *dentry = filp->f_dentry; + struct dentry *newdent, *dentry = filp->f_path.dentry; struct inode *newino, *inode = dentry->d_inode; struct smb_cache_control ctl = *ctrl; int valid = 0;