]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/cifs/fcntl.c
[PATCH] cifs: character mapping of special characters (part 3 of 3)
[karo-tx-linux.git] / fs / cifs / fcntl.c
index 9d24c40f1967ad6ec5aad6e79d88db69deda93d2..7d2a9202c39a3291969307c1c57bdc18237fca57 100644 (file)
@@ -92,7 +92,8 @@ int cifs_dir_notify(struct file * file, unsigned long arg)
                cERROR(1,("cifs dir notify on file %s with arg 0x%lx",full_path,arg)); /* BB removeme BB */
                rc = CIFSSMBOpen(xid, pTcon, full_path, FILE_OPEN, 
                        GENERIC_READ | SYNCHRONIZE, 0 /* create options */,
-                       &netfid, &oplock,NULL, cifs_sb->local_nls);
+                       &netfid, &oplock,NULL, cifs_sb->local_nls,
+                       cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR);
                /* BB fixme - add this handle to a notify handle list */
                if(rc) {
                        cERROR(1,("Could not open directory for notify"));  /* BB remove BB */