[PATCH] buglet in fs/super.c

From: Todd Sabin (tas@webspan.net)
Date: Tue Mar 21 2000 - 18:36:56 EST


There looks to be a bug in fs_index(). index is being double
incremented, once in for statement, and again in the loop body. Patch
against 2.3.99-pre1 follows.

Todd

*** fs/super.c~ Mon Mar 13 13:23:36 2000
--- fs/super.c Sat Mar 18 15:09:18 2000
***************
*** 147,153 ****
                          err = index;
                          break;
                  }
- index++;
          }
          spin_unlock(&file_systems_lock);
          putname(name);
--- 147,152 ----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:35 EST