]> granicus.if.org Git - zfs/commitdiff
Fixed typo that set thread STACK_SIZE to 24k instead of 8k
authorNed Bass <bass6@llnl.gov>
Wed, 21 Jul 2010 16:58:54 +0000 (09:58 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Jul 2010 17:04:21 +0000 (10:04 -0700)
__linux__ was mispelled as _linux_ so #ifdef was always
selecting the Solaris STACK_SIZE value.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
lib/libzpool/include/sys/zfs_context.h

index b0112e6ec44142b371eeb5969030704190d1bbe7..f837440c06de8a5f3ed298ce6b54f917e46ff2b4 100644 (file)
@@ -199,7 +199,7 @@ _NOTE(CONSTCOND) } while (0)
  */
 #define        TS_MAGIC                0x72f158ab4261e538ull
 #define        TS_RUN                  0x00000002
-#ifdef _linux_
+#ifdef __linux__
 #define        STACK_SIZE              8192    /* Linux x86 and amd64 */
 #else
 #define        STACK_SIZE              24576   /* Solaris */