xfs
[Top] [All Lists]

TAKE 965636 - xfs_setfilesize panics on null xfs_inode

To: xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 965636 - xfs_setfilesize panics on null xfs_inode
From: dgc@xxxxxxx (David Chinner)
Date: Mon, 4 Jun 2007 18:28:12 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
Handle null returned from xfs_vtoi() in xfs_setfilesize().


Date:  Mon Jun  4 18:27:21 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  tes@xxxxxxx, olaf@xxxxxxx

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


Modid:  xfs-linux-melb:xfs-kern:28777a
fs/xfs/linux-2.6/xfs_aops.c - 1.145 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_aops.c.diff?r1=text&tr1=1.145&r2=text&tr2=1.144&f=h
        - If we get a null xfs_inode in xfs_setfilesize(), we can't update
          the file size. Don't even bother trying.



<Prev in Thread] Current Thread [Next in Thread>