public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Myers <bpm@sgi.com>
To: Tomas Racek <tracek@redhat.com>
Cc: lczerner@redhat.com, Alex Elder <elder@kernel.org>, xfs@oss.sgi.com
Subject: Re: [PATCH v4] xfs: check for possible overflow in xfs_ioc_trim
Date: Wed, 15 Aug 2012 09:02:00 -0500	[thread overview]
Message-ID: <20120815140200.GB22462@sgi.com> (raw)
In-Reply-To: <1805964222.1573527.1345033412870.JavaMail.root@redhat.com>

On Wed, Aug 15, 2012 at 08:23:32AM -0400, Tomas Racek wrote:
> Forwarding to maintainers.

Thanks Tomas.  We'll get this sorted.

Regards,
	Ben

> 
> ----- Original Message -----
> > On Tue, Aug 14, 2012 at 10:35:04AM +0200, Tomas Racek wrote:
> > > If range.start or range.minlen is bigger than filesystem size,
> > > return
> > > invalid value error. This fixes possible overflow in BTOBB macro
> > > when
> > > passed value was nearly ULLONG_MAX.
> > > 
> > > Signed-off-by: Tomas Racek <tracek@redhat.com>
> > 
> > looks ok to me.
> > 
> > Reviewed-by: Dave Chinner <dchinner@redhat.com>
> > --
> > Dave Chinner
> > david@fromorbit.com
> > 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2012-08-15 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-14  8:35 [PATCH v4] xfs: check for possible overflow in xfs_ioc_trim Tomas Racek
2012-08-14 21:36 ` Dave Chinner
2012-08-15 12:23   ` Tomas Racek
2012-08-15 14:02     ` Ben Myers [this message]

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=20120815140200.GB22462@sgi.com \
    --to=bpm@sgi.com \
    --cc=elder@kernel.org \
    --cc=lczerner@redhat.com \
    --cc=tracek@redhat.com \
    --cc=xfs@oss.sgi.com \
    /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