| From | Alexey Dobriyan <> | Subject | [PATCH 07/52] kstrtox: convert fs/fuse/ | Date | Sat, 5 Feb 2011 16:20:10 +0200 |
| |
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.3.4
|