This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / cifs / cifs_debug.c
index 716dd01..0cf2b22 100644 (file)
@@ -201,12 +201,7 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset,
                sprintf(buf,"SMB Request/Response Buffer: %d\n",
                        bufAllocCount.counter);
        length += item_length;
-       buf += item_length;
-       item_length = 
-               sprintf(buf,"SMB Small Req/Resp Buffer: %d\n",
-                       smBufAllocCount.counter);
-       length += item_length;
-       buf += item_length;
+       buf += item_length;      
        item_length = 
                sprintf(buf,"Operations (MIDs): %d\n",
                        midCount.counter);
@@ -342,7 +337,7 @@ cifs_proc_init(void)
        if (pde)
                pde->write_proc = oplockEnabled_write;
 
-       pde = create_proc_read_entry("ReenableOldCifsReaddirCode", 0, proc_fs_cifs,
+       pde = create_proc_read_entry("QuotaEnabled", 0, proc_fs_cifs,
                                quotaEnabled_read, NULL);
        if (pde)
                pde->write_proc = quotaEnabled_write;
@@ -401,7 +396,7 @@ cifs_proc_clean(void)
        remove_proc_entry("ExtendedSecurity",proc_fs_cifs);
        remove_proc_entry("PacketSigningEnabled",proc_fs_cifs);
        remove_proc_entry("LinuxExtensionsEnabled",proc_fs_cifs);
-       remove_proc_entry("ReenableOldCifsReaddirCode",proc_fs_cifs);
+       remove_proc_entry("QuotaEnabled",proc_fs_cifs);
        remove_proc_entry("LookupCacheEnabled",proc_fs_cifs);
        remove_proc_entry("cifs", proc_root_fs);
 }
@@ -490,7 +485,7 @@ quotaEnabled_read(char *page, char **start, off_t off,
 {
         int len;
 
-        len = sprintf(page, "%d\n", experimEnabled);
+        len = sprintf(page, "%d\n", quotaEnabled);
 /* could also check if quotas are enabled in kernel
        as a whole first */
         len -= off;
@@ -517,9 +512,9 @@ quotaEnabled_write(struct file *file, const char __user *buffer,
         if (rc)
                 return rc;
         if (c == '0' || c == 'n' || c == 'N')
-                experimEnabled = 0;
+                quotaEnabled = 0;
         else if (c == '1' || c == 'y' || c == 'Y')
-                experimEnabled = 1;
+                quotaEnabled = 1;
 
         return count;
 }