]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/fcntl.c
Merge branch 'master' of /home/tglx/work/mtd/git/linux-2.6.git/
[linux-2.6-omap-h63xx.git] / fs / cifs / fcntl.c
index d527e2c76073e6c16fdd6192c2bb948c77b268e0..a7a47bb36bf30888ea87bd62592ed732bba05d25 100644 (file)
@@ -78,6 +78,10 @@ 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;