From: Jingoo Han <jg1.han@samsung.com>
Date: Wed, 11 Sep 2013 14:20:07 -0700
Subject: block: replace strict_strtoul() with kstrtoul()
Git-commit: bb8e0e84b30afc9827931c9773d75d5c99fcddff
Patch-mainline: v3.12-rc1
References: FATE#318328 bsc#917884

The use of strict_strtoul() is not preferred, because strict_strtoul() is
obsolete.  Thus, kstrtoul() should be used.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Lee Duncan <lduncan@suse.com>
---
 drivers/block/osdblk.c             |    2 +-
 drivers/block/rbd.c                |    2 +-
 drivers/block/xen-blkback/xenbus.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- a/drivers/block/osdblk.c
+++ b/drivers/block/osdblk.c
@@ -599,7 +599,7 @@ static ssize_t class_osdblk_remove(struc
 	unsigned long ul;
 	struct list_head *tmp;
 
-	rc = strict_strtoul(buf, 10, &ul);
+	rc = kstrtoul(buf, 10, &ul);
 	if (rc)
 		return rc;
 
--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -5158,7 +5158,7 @@ static ssize_t rbd_remove(struct bus_typ
 	bool already = false;
 	int ret;
 
-	ret = strict_strtoul(buf, 10, &ul);
+	ret = kstrtoul(buf, 10, &ul);
 	if (ret)
 		return ret;
 
--- a/drivers/block/xen-blkback/xenbus.c
+++ b/drivers/block/xen-blkback/xenbus.c
@@ -525,7 +525,7 @@ static void backend_changed(struct xenbu
 	}
 
 	/* Front end dir is a number, which is used as the handle. */
-	err = strict_strtoul(strrchr(dev->otherend, '/') + 1, 0, &handle);
+	err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle);
 	if (err)
 		return;
 
