Commit Graph

1215 Commits

Author SHA1 Message Date
Brian Behlendorf 36c46c6031 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-13 10:57:45 -07:00
Brian Behlendorf d2910d2415 Merge branch 'gcc-unused' into refs/top-bases/gcc-branch 2009-03-13 10:57:43 -07:00
Brian Behlendorf c98996ded8 Explicitly cast to prevent 'void *' dereference. 2009-03-13 10:51:11 -07:00
Brian Behlendorf d032066bf3 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-03-12 10:51:22 -07:00
Brian Behlendorf b625eab814 Move upcall after run_args are initialized. 2009-03-12 10:46:54 -07:00
Brian Behlendorf 58e63ca4cc Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-12 10:40:17 -07:00
Brian Behlendorf 71188348b0 Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-12 10:39:26 -07:00
Brian Behlendorf 5303323f3a Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-12 10:38:45 -07:00
Brian Behlendorf 2ff032fd60 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-12 10:38:44 -07:00
Brian Behlendorf 9bdbd7c8f7 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-12 10:37:18 -07:00
Brian Behlendorf c8368a8daa Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-12 10:37:15 -07:00
Brian Behlendorf b9b399bf04 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-12 10:37:14 -07:00
Brian Behlendorf a03187bb3b Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-12 10:37:12 -07:00
Brian Behlendorf f8fe8a76f4 Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2009-03-12 10:37:11 -07:00
Brian Behlendorf cabd4a69c4 Resolve remaining uninitialized variables
Most of these fixes appear to be harmless and should never occur.
However, there were a few cases in this patch which do concern me,
I doubt we're seeing them but they look possible... mainly in the
user tools.
2009-03-12 10:30:41 -07:00
Brian Behlendorf 308903afa4 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-12 10:02:53 -07:00
Brian Behlendorf 0c2f0dd6be Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-12 10:02:05 -07:00
Brian Behlendorf cebf08458e Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-12 10:01:27 -07:00
Brian Behlendorf 165b2611d2 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-12 10:01:25 -07:00
Brian Behlendorf 0cdc14e427 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-12 10:00:07 -07:00
Brian Behlendorf a459fe3e3f Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-12 10:00:05 -07:00
Brian Behlendorf dd30dba016 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-12 10:00:04 -07:00
Brian Behlendorf 193ea156e9 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-12 10:00:03 -07:00
Brian Behlendorf eceaf813ad Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch 2009-03-12 10:00:01 -07:00
Brian Behlendorf f2d72af596 Add remaining missing cases (or a default) to all switch statements.
The previous code was not wrong, but this prevents gcc from warning
us about missing cases for these known safe switch statements.  The
-Wno-missing-cases can now be removed to detect places where we
accidentally forgot a case.
2009-03-12 09:53:08 -07:00
Brian Behlendorf 0d19b2613b Merge branch 'linux-have-zpl' into refs/top-bases/linux-zfs-branch 2009-03-11 22:50:31 -07:00
Brian Behlendorf 7dda95296c Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-03-11 22:50:29 -07:00
Brian Behlendorf ef003a41c3 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-11 22:50:02 -07:00
Brian Behlendorf 7ffff81846 Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-11 22:49:26 -07:00
Brian Behlendorf f9494814c2 Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-11 22:48:56 -07:00
Brian Behlendorf dadb99c29a Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-11 22:48:55 -07:00
Brian Behlendorf 901d2a8d13 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-11 22:47:58 -07:00
Brian Behlendorf 1b9605212b Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-11 22:47:56 -07:00
Brian Behlendorf 909582a95e Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-11 22:47:56 -07:00
Brian Behlendorf 6211d1a370 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-11 22:47:54 -07:00
Brian Behlendorf a2dc88da2a Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2009-03-11 22:47:53 -07:00
Brian Behlendorf 1c0279a08f Resolve newly revealed unused vars and symbols caused by topic branch. 2009-03-11 22:43:09 -07:00
Brian Behlendorf 462f864365 Check should be in ASSERT to minimize stack and prevent unused var. 2009-03-11 22:38:16 -07:00
Brian Behlendorf 6315decd17 Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-03-11 22:30:26 -07:00
Brian Behlendorf 01c24c3a86 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-11 22:29:57 -07:00
Brian Behlendorf adcaad04be Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch 2009-03-11 22:29:12 -07:00
Brian Behlendorf bc61ef667f Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-11 22:29:09 -07:00
Brian Behlendorf 0dcd576c67 Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-11 22:28:33 -07:00
Brian Behlendorf cb75043186 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-11 22:28:31 -07:00
Brian Behlendorf 24e488aa55 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-11 22:27:18 -07:00
Brian Behlendorf e6941c57fe Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-11 22:27:16 -07:00
Brian Behlendorf e625efa701 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-11 22:27:15 -07:00
Brian Behlendorf c9daa4fbd2 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-11 22:27:14 -07:00
Brian Behlendorf 246cae3509 Merge branch 'gcc-unused' into refs/top-bases/gcc-branch 2009-03-11 22:27:11 -07:00
Brian Behlendorf 25c88fda18 Remove unused variable 2009-03-11 22:15:36 -07:00
Brian Behlendorf ecd2dbcb44 Resolve upstream unused variables so we can remove the -Wno-unused
compile option.  In most case the variables are only unused when
debugging is disabled (ASSERT) however they do waste stack if that
case if the compiler doesn't optimize it out (it should).  But more
importantly disabling this warning prevent us from noticing legit
unused variables accidentally left in other place of the code.
2009-03-11 22:07:25 -07:00
Brian Behlendorf cb52b25a43 Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-03-11 21:03:09 -07:00
Brian Behlendorf 9326966d34 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-11 21:02:37 -07:00
Brian Behlendorf b4ab230f6a Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-11 21:01:45 -07:00
Brian Behlendorf 60a37cc531 Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-11 21:01:05 -07:00
Brian Behlendorf b6616bd2c6 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-11 21:01:03 -07:00
Brian Behlendorf c351352990 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-11 20:59:46 -07:00
Brian Behlendorf e0eecbc272 Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-11 20:59:45 -07:00
Brian Behlendorf 4c042de40b Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-11 20:59:43 -07:00
Brian Behlendorf 60ac8152fe Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-11 20:59:42 -07:00
Brian Behlendorf 9915249546 Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch 2009-03-11 20:53:11 -07:00
Brian Behlendorf d4dbc7dca8 Resolve all instances of missing braces. 2009-03-11 20:52:21 -07:00
Brian Behlendorf c9323d991b Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch 2009-03-11 16:27:48 -07:00
Brian Behlendorf cfbbf79eeb Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-11 16:27:47 -07:00
Ricardo M. Correia 8680138968 Add missing EXPORT_SYMBOL() macro.
ZFS consumers such as Lustre should have access to these symbols.
2009-03-11 16:22:11 -07:00
Brian Behlendorf f39adcbb54 Merge branch 'linux-have-xdr' into refs/top-bases/linux-zfs-branch 2009-03-11 14:44:59 -07:00
Brian Behlendorf 76052e446c Revert 'linux-have-xdr' topic branch patch.
This is not needed anymore since a proper XDR implementation was added
to the SPL as of version spl-0.4.3.
2009-03-11 14:39:10 -07:00
Brian Behlendorf b2041bc8ef Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-03-11 14:13:33 -07:00
Brian Behlendorf bd92e256e6 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-11 14:12:52 -07:00
Brian Behlendorf f6fe1c9ee9 Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-11 14:11:44 -07:00
Brian Behlendorf 94dfc4263d Merge commit 'refs/top-bases/linux-have-xdr' into linux-have-xdr 2009-03-11 14:11:18 -07:00
Brian Behlendorf 44bbf3d55a Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-11 14:10:41 -07:00
Brian Behlendorf ab760deda7 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-11 14:10:39 -07:00
Brian Behlendorf 5afc3db3ce Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-11 14:08:57 -07:00
Brian Behlendorf 9f76497933 Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-11 14:08:53 -07:00
Brian Behlendorf 1ca6578ebc Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-11 14:08:51 -07:00
Brian Behlendorf 8a3b1a5ff5 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-11 14:08:50 -07:00
Brian Behlendorf e5011401cd Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch 2009-03-11 14:08:48 -07:00
Brian Behlendorf 3226eea157 Resolve additional cases where gcc wants extra parenthesis.
These were introduced by the rebase to b108.
2009-03-11 13:57:47 -07:00
Brian Behlendorf 0479ea4c30 Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-03-11 13:28:01 -07:00
Brian Behlendorf 94caad0d1f Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-11 13:27:22 -07:00
Brian Behlendorf 0d1f924c2d Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-11 13:26:21 -07:00
Brian Behlendorf 2510eb0d8b Merge commit 'refs/top-bases/linux-have-xdr' into linux-have-xdr 2009-03-11 13:25:57 -07:00
Brian Behlendorf 02159c4359 Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-11 13:25:24 -07:00
Brian Behlendorf 5915d545e9 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-11 13:25:23 -07:00
Brian Behlendorf 2369dcfc6e Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-11 13:23:48 -07:00
Brian Behlendorf edce9778ba Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-11 13:23:46 -07:00
Brian Behlendorf 4e945fb768 Remove -Wno-unknown-pragmas compile option, all unknown pragmas
have been removed by the gcc-ident-pragmas topic branch.
2009-03-11 13:14:08 -07:00
Brian Behlendorf 6869252da7 Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-03-11 12:48:04 -07:00
Brian Behlendorf b56b3ef9b9 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-11 12:47:26 -07:00
Brian Behlendorf a6faa4a39d Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-11 12:46:19 -07:00
Brian Behlendorf 292abc5144 Merge commit 'refs/top-bases/linux-have-xdr' into linux-have-xdr 2009-03-11 12:45:53 -07:00
Brian Behlendorf 3cfb9e0c7d Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-11 12:45:16 -07:00
Brian Behlendorf 9ceea9faf2 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-11 12:45:15 -07:00
Brian Behlendorf 8da11058e7 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-11 12:43:34 -07:00
Brian Behlendorf adf52e68be Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-11 12:43:32 -07:00
Brian Behlendorf 0cad1eaf40 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-11 12:43:30 -07:00
Brian Behlendorf 86baaa124e Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-03-11 12:43:29 -07:00
Brian Behlendorf ced9992186 Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2009-03-11 12:43:28 -07:00
Brian Behlendorf fbb2843086 Ensure idx is properly initialized in all instances. 2009-03-11 12:34:24 -07:00