public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: lachlan@lab41.emea.sgi.com (Lachlan McIlroy)
To: xfs@oss.sgi.com
Subject: TAKE 960788 - Fix callers of xfs_iozero() to zero the correct range.
Date: Fri,  2 Feb 2007 16:57:09 +0000 (GMT)	[thread overview]
Message-ID: <20070202165709.37298576B9@lab41.emea.sgi.com> (raw)

Fix callers of xfs_iozero() to zero the correct range.

The problem is the two callers of xfs_iozero() are rounding out the range
to be zeroed to the end of a fsb and in some cases this extends past the new
eof.  The call to commit_write() in xfs_iozero() will cause the Linux inode's
file size to be set too high.

Date:  Sat Feb  3 03:36:02 AEDT 2007
Workarea:  vpn-emea-sw-emea-160-1.emea.sgi.com:/home/lachlan/isms/2.6.x-xfs
Inspected by:  dgc
Author:  lachlan

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:28013a
fs/xfs/xfs_inode.c - 1.458 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.c.diff?r1=text&tr1=1.458&r2=text&tr2=1.457&f=h
fs/xfs/linux-2.6/xfs_lrw.h - 1.55 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_lrw.h.diff?r1=text&tr1=1.55&r2=text&tr2=1.54&f=h
fs/xfs/linux-2.6/xfs_lrw.c - 1.254 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_lrw.c.diff?r1=text&tr1=1.254&r2=text&tr2=1.253&f=h
	- Fix callers of xfs_iozero() to zero the correct range.

                 reply	other threads:[~2007-02-02 16:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20070202165709.37298576B9@lab41.emea.sgi.com \
    --to=lachlan@lab41.emea.sgi.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