]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/fcntl.c
Driver core: add uevent vars for devices of a class
[linux-2.6-omap-h63xx.git] / fs / cifs / fcntl.c
index d91a3d44e9e30ce1f36b67b650482212355d8629..da12b482ebe5364d1bc4e6dba9bba25ffa25e12c 100644 (file)
@@ -83,10 +83,10 @@ int cifs_dir_notify(struct file * file, unsigned long arg)
                return 0;
 
        xid = GetXid();
-       cifs_sb = CIFS_SB(file->f_dentry->d_sb);
+       cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
        pTcon = cifs_sb->tcon;
 
-       full_path = build_path_from_dentry(file->f_dentry);
+       full_path = build_path_from_dentry(file->f_path.dentry);
 
        if(full_path == NULL) {
                rc = -ENOMEM;