X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2F9p%2Fv9fs.c;h=332b5ff02fec11b8e8e43645c93ae09679ac9a61;hb=5ca431f9ae8db8c6edb9c64bebe6d6521077afd6;hp=24eb01087b6d63313404dff82b4f192177189342;hpb=7fbb8759eff9a348efa5f352ffaa51c364837c4b;p=~andy%2Flinux diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index 24eb01087b6..332b5ff02fe 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; }