From: Boaz Harrosh <ooo@electrozaur.com>
To: Fabian Frederick <fabf@skynet.be>, linux-kernel@vger.kernel.org
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,
Benny Halevy <bhalevy@primarydata.com>,
osd-dev@open-osd.org
Subject: Re: [PATCH 1/1 linux-next] exofs: convert simple_str to kstr
Date: Thu, 30 Apr 2015 10:55:37 +0300 [thread overview]
Message-ID: <5541DFF9.9050205@electrozaur.com> (raw)
In-Reply-To: <1430330330-17481-1-git-send-email-fabf@skynet.be>
On 04/29/2015 08:58 PM, Fabian Frederick wrote:
> replace obsolete function.
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
Thanks.
ACK-by: Boaz Harrosh <ooo@electrozaur.com>
Are you pushing all these through some tree, or
You need that I push it? Maybe push all these changes
through some central place, like Andrew's tree?
Boaz
> ---
> This is untested.
>
> fs/exofs/super.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/fs/exofs/super.c b/fs/exofs/super.c
> index b795c56..b667f73 100644
> --- a/fs/exofs/super.c
> +++ b/fs/exofs/super.c
> @@ -108,9 +108,14 @@ static int parse_options(char *options, struct exofs_mountopt *opts)
> opts->is_osdname = true;
> break;
> case Opt_pid:
> + {
> + int rc;
> +
> if (0 == match_strlcpy(str, &args[0], sizeof(str)))
> return -EINVAL;
> - opts->pid = simple_strtoull(str, NULL, 0);
> + rc = kstrtoull(str, 0, &opts->pid);
> + if (rc)
> + return rc;
> if (opts->pid < EXOFS_MIN_PID) {
> EXOFS_ERR("Partition ID must be >= %u",
> EXOFS_MIN_PID);
> @@ -118,6 +123,7 @@ static int parse_options(char *options, struct exofs_mountopt *opts)
> }
> s_pid = 1;
> break;
> + }
> case Opt_to:
> if (match_int(&args[0], &option))
> return -EINVAL;
>
next prev parent reply other threads:[~2015-04-30 7:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 17:58 [PATCH 1/1 linux-next] exofs: convert simple_str to kstr Fabian Frederick
2015-04-30 7:55 ` Boaz Harrosh [this message]
2015-04-30 18:47 ` Fabian Frederick
-- strict thread matches above, loose matches on Subject: below --
2015-04-30 11:06 Alexey Dobriyan
2015-04-30 11:32 ` Alexey Dobriyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5541DFF9.9050205@electrozaur.com \
--to=ooo@electrozaur.com \
--cc=bhalevy@primarydata.com \
--cc=fabf@skynet.be \
--cc=linux-kernel@vger.kernel.org \
--cc=osd-dev@open-osd.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox