summaryrefslogtreecommitdiffstats
path: root/fs/9p/v9fs.c
diff options
context:
space:
mode:
authorLinus Torvalds2008-12-20 20:07:31 +0100
committerLinus Torvalds2008-12-20 20:07:31 +0100
commitab65387243f47a7bc11725f733c86bf27248b326 (patch)
tree0857b074b984b1e1dd70d1cbabe22ee618ccd498 /fs/9p/v9fs.c
parentMerge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentfs/9p: change simple_strtol to simple_strtoul (diff)
downloadkernel-qcow2-linux-ab65387243f47a7bc11725f733c86bf27248b326.tar.gz
kernel-qcow2-linux-ab65387243f47a7bc11725f733c86bf27248b326.tar.xz
kernel-qcow2-linux-ab65387243f47a7bc11725f733c86bf27248b326.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs: fs/9p: change simple_strtol to simple_strtoul 9p: convert d_iname references to d_name.name 9p: Remove potentially bad parameter from function entry debug print.
Diffstat (limited to 'fs/9p/v9fs.c')
-rw-r--r--fs/9p/v9fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c
index 24eb01087b6d..332b5ff02fec 100644
--- a/fs/9p/v9fs.c
+++ b/fs/9p/v9fs.c
@@ -160,7 +160,7 @@ static int v9fs_parse_options(struct v9fs_session_info *v9ses)
v9ses->flags |= V9FS_ACCESS_ANY;
else {
v9ses->flags |= V9FS_ACCESS_SINGLE;
- v9ses->uid = simple_strtol(s, &e, 10);
+ v9ses->uid = simple_strtoul(s, &e, 10);
if (*e != '\0')
v9ses->uid = ~0;
}