[PATCH 07/52] kstrtox: convert fs/fuse/

From: Alexey Dobriyan
Date: Sat Feb 05 2011 - 09:30:49 EST



Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---
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.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/