[sheepdog] [sheepdog/sheepdog] 7e222f: sbd: fix strict_strtoul for newer kernels

Hitoshi Mitake mitake.hitoshi at gmail.com
Wed Sep 30 03:14:07 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 7e222f2ec876020fd77ce595ead6db8e32fdf4ca
      https://github.com/sheepdog/sheepdog/commit/7e222f2ec876020fd77ce595ead6db8e32fdf4ca
  Author: Vasiliy Tolstov <v.tolstov at selfip.ru>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M sbd/sheep_block_device.c

  Log Message:
  -----------
  sbd: fix strict_strtoul for newer kernels

strict_strtoul() was just a redefinition of kstrtoul() for a long
time. From kernel version of 3.18, strict_strtoul() will not be
defined at all. A compile time kernel version check is needed to
decide which function or macro can be used for a specific version of
kernel.

Signed-off-by: Vasiliy Tolstov <v.tolstov at selfip.ru>


  Commit: 4aa4db4420671eec4da7038b15c3ecc552bdd998
      https://github.com/sheepdog/sheepdog/commit/4aa4db4420671eec4da7038b15c3ecc552bdd998
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2015-09-30 (Wed, 30 Sep 2015)

  Changed paths:
    M sbd/sheep_block_device.c

  Log Message:
  -----------
  Merge pull request #172 from vtolstov/sbd

fix strict_strtoul for never kernels


Compare: https://github.com/sheepdog/sheepdog/compare/ea66c2308649...4aa4db442067


More information about the sheepdog mailing list