Commit a726658d authored by Steve French's avatar Steve French Committed by Steve French

[CIFS] Make new cifs readdir code the default and rename the proc entry

to /proc/fs/cifs/ReenableOldCifsReaddirCode (which is off by default,
causing the new cifs_readdir2 code to be executed by default)

Signed-off-by: Steve French (sfrench@us.ibm.com)
parent cfd69038
......@@ -344,7 +344,7 @@ cifs_proc_init(void)
if (pde)
pde->write_proc = oplockEnabled_write;
pde = create_proc_read_entry("NewReaddirEnabled", 0, proc_fs_cifs,
pde = create_proc_read_entry("ReenableOldCifsReaddirCode", 0, proc_fs_cifs,
quotaEnabled_read, NULL);
if (pde)
pde->write_proc = quotaEnabled_write;
......
......@@ -1724,7 +1724,7 @@ cifs_readdir(struct file *file, void *direntry, filldir_t filldir)
/* BB removeme begin */
if(experimEnabled)
if(!experimEnabled)
return cifs_readdir2(file,direntry,filldir);
/* BB removeme end */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment