xfs
[Top] [All Lists]

TAKE 970705 - simplify vn_revalidate

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 970705 - simplify vn_revalidate
From: Lachlan McIlroy <lachlan@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Sep 2007 12:27:54 +1000
Sender: xfs-bounce@xxxxxxxxxxx
simplify vn_revalidate

No need to allocate a bhv_vattr_t on stack and call xfs_getattr to
update a few fields in the Linux inode from the XFS inode, just
do it directly.

And yes, this function is in dire need of a better name and prototype,
I'll do in a separate patch, though.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>


Date:  Wed Sep 19 12:24:22 AEST 2007
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by:  Christoph Hellwig <hch@xxxxxx>

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


Modid:  xfs-linux-melb:xfs-kern:29713a
fs/xfs/linux-2.6/xfs_ioctl.c - 1.154 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_ioctl.c.diff?r1=text&tr1=1.154&r2=text&tr2=1.153&f=h
        - simplify vn_revalidate

fs/xfs/linux-2.6/xfs_vnode.c - 1.152 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.c.diff?r1=text&tr1=1.152&r2=text&tr2=1.151&f=h
        - simplify vn_revalidate

fs/xfs/linux-2.6/xfs_vnode.h - 1.142 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.h.diff?r1=text&tr1=1.142&r2=text&tr2=1.141&f=h
        - simplify vn_revalidate

fs/xfs/linux-2.6/xfs_iops.c - 1.264 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.264&r2=text&tr2=1.263&f=h
        - simplify vn_revalidate

fs/xfs/linux-2.6/xfs_ksyms.c - 1.72 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_ksyms.c.diff?r1=text&tr1=1.72&r2=text&tr2=1.71&f=h
        - simplify vn_revalidate



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 970705 - simplify vn_revalidate, Lachlan McIlroy <=