public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* TAKE 960788 - Fix callers of xfs_iozero() to zero the correct range.
@ 2007-02-02 16:57 Lachlan McIlroy
  0 siblings, 0 replies; only message in thread
From: Lachlan McIlroy @ 2007-02-02 16:57 UTC (permalink / raw)
  To: xfs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-02 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-02 16:57 TAKE 960788 - Fix callers of xfs_iozero() to zero the correct range Lachlan McIlroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox