X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Fsmbfs%2Fcache.c;h=8182f0542a2176aadc221c40d65dfec7e4bb382e;hb=5f015a5b28c75bb6cc5158640db58689b1ee1b51;hp=74b86d9725a63cce6a65ad53514cecc3d9437a82;hpb=5160ee6fc891a9ca114be0e90fa6655647bb64b2;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/smbfs/cache.c b/fs/smbfs/cache.c index 74b86d9..8182f05 100644 --- a/fs/smbfs/cache.c +++ b/fs/smbfs/cache.c @@ -125,7 +125,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;