]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/cifs/fcntl.c
Pull 5165 into release branch
[karo-tx-linux.git] / fs / cifs / fcntl.c
index 2e5137b7352a4852c8e5888d1eb8ea65a3794450..a7a47bb36bf30888ea87bd62592ed732bba05d25 100644 (file)
@@ -78,12 +78,16 @@ int cifs_dir_notify(struct file * file, unsigned long arg)
        __u32 filter = FILE_NOTIFY_CHANGE_NAME | FILE_NOTIFY_CHANGE_ATTRIBUTES;
        __u16 netfid;
 
+
+       if(experimEnabled == 0)
+               return 0;
+
        xid = GetXid();
        cifs_sb = CIFS_SB(file->f_dentry->d_sb);
        pTcon = cifs_sb->tcon;
 
        down(&file->f_dentry->d_sb->s_vfs_rename_sem);
-       full_path = build_path_from_dentry(file->f_dentry, cifs_sb);
+       full_path = build_path_from_dentry(file->f_dentry);
        up(&file->f_dentry->d_sb->s_vfs_rename_sem);
 
        if(full_path == NULL) {