lkml.org 
[lkml]   [2010]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 07/45] kstrtox: convert fs/fuse/
Date

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
fs/fuse/control.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/fuse/control.c b/fs/fuse/control.c
index 85542a7..b916b34 100644
--- a/fs/fuse/control.c
+++ b/fs/fuse/control.c
@@ -74,7 +74,7 @@ static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf,
size_t count, loff_t *ppos, unsigned *val,
unsigned global_limit)
{
- unsigned long t;
+ unsigned int t;
char tmp[32];
unsigned limit = (1 << 16) - 1;
int err;
@@ -87,7 +87,7 @@ static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf,

tmp[count] = '\0';

- err = strict_strtoul(tmp, 0, &t);
+ err = kstrtouint(tmp, 0, &t);
if (err)
return err;

--
1.7.2.2


\
 
 \ /
  Last update: 2010-12-05 19:01    [W:0.124 / U:3.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site