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
1 file changed
tree: e746eddcc109086d25f71387d610031572199a9d
  1. bin/
  2. deps/
  3. mirror/
  4. profilers/
  5. samples/
  6. tests/
  7. tko/
  8. tools/
  9. ui/
  10. DCO
  11. LICENSE