sprintf(buf,"SMB Request/Response Buffer: %d\n",
bufAllocCount.counter);
length += item_length;
- buf += item_length;
+ buf += item_length;
+ item_length =
+ sprintf(buf,"SMB Small Req/Resp Buffer: %d\n",
+ smBufAllocCount.counter);
+ length += item_length;
+ buf += item_length;
item_length =
sprintf(buf,"Operations (MIDs): %d\n",
midCount.counter);
if (pde)
pde->write_proc = oplockEnabled_write;
- pde = create_proc_read_entry("QuotaEnabled", 0, proc_fs_cifs,
+ pde = create_proc_read_entry("ReenableOldCifsReaddirCode", 0, proc_fs_cifs,
quotaEnabled_read, NULL);
if (pde)
pde->write_proc = quotaEnabled_write;
remove_proc_entry("ExtendedSecurity",proc_fs_cifs);
remove_proc_entry("PacketSigningEnabled",proc_fs_cifs);
remove_proc_entry("LinuxExtensionsEnabled",proc_fs_cifs);
- remove_proc_entry("QuotaEnabled",proc_fs_cifs);
+ remove_proc_entry("ReenableOldCifsReaddirCode",proc_fs_cifs);
remove_proc_entry("LookupCacheEnabled",proc_fs_cifs);
remove_proc_entry("cifs", proc_root_fs);
}
{
int len;
- len = sprintf(page, "%d\n", quotaEnabled);
+ len = sprintf(page, "%d\n", experimEnabled);
/* could also check if quotas are enabled in kernel
as a whole first */
len -= off;
if (rc)
return rc;
if (c == '0' || c == 'n' || c == 'N')
- quotaEnabled = 0;
+ experimEnabled = 0;
else if (c == '1' || c == 'y' || c == 'Y')
- quotaEnabled = 1;
+ experimEnabled = 1;
return count;
}