commit | c8853b1ccc04cf1b3a8167c6de9cd28668d7264f | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Oct 10 04:34:02 2006 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Oct 10 04:34:02 2006 +0000 |
tree | e746eddcc109086d25f71387d610031572199a9d | |
parent | b2c5992d6226ce81857f14caf948ae9ed68f0100 [diff] |
Fix up version checking in libhugetlbfs. Current code was using version.split('.'). As Yao Fei Zhu pointed out, this does not work for things like '2.6.17-1.2519.4.21.el5'. Also, we're comparing numbers to strings, which is a bad plan. Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@322 592f7852-d20e-0410-864c-8624ca9c26a4