summaryrefslogtreecommitdiffstats
path: root/drivers/block/rbd.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-11 14:20:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:56:56 -0700
commitbb8e0e84b30afc9827931c9773d75d5c99fcddff (patch)
tree1d1b6b4135933cc375570f6016d8295299c916f6 /drivers/block/rbd.c
parente1403b8edf669ff49bbdf602cc97fefa2760cb15 (diff)
downloadblackbird-op-linux-bb8e0e84b30afc9827931c9773d75d5c99fcddff.tar.gz
blackbird-op-linux-bb8e0e84b30afc9827931c9773d75d5c99fcddff.zip
block: replace strict_strtoul() with kstrtoul()
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>
Diffstat (limited to 'drivers/block/rbd.c')
-rw-r--r--drivers/block/rbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index 39c51cc7fabc..b22a7d0fe5b7 100644
--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -5132,7 +5132,7 @@ static ssize_t rbd_remove(struct bus_type *bus,
bool already = false;
int ret;
- ret = strict_strtoul(buf, 10, &ul);
+ ret = kstrtoul(buf, 10, &ul);
if (ret)
return ret;
OpenPOWER on IntegriCloud