xfs
[Top] [All Lists]

TAKE 938306 - replace vn_get usage by ihold

To: linux-xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Subject: TAKE 938306 - replace vn_get usage by ihold
From: Christoph Hellwig <hch@xxxxxxx>
Date: Wed, 22 Jun 2005 08:57:15 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
vn_get is possibly racy and overly complicated for usage under
Linux.  We can simply use ihold whith the mount lock held to
check whether an inode is beeing freed or grab a reference if it
is not.


Date:  Wed Jun 22 06:56:22 PDT 2005
Workarea:  maine.americas.sgi.com:/home/daisy40/hch/ptools/xfs-2.4.x
Inspected by:  nathans

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/linux/2.4.x-xfs


Modid:  xfs-linux:xfs-kern:194627a
fs/xfs/xfs_vfsops.c - 1.469 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vfsops.c.diff?r1=text&tr1=1.469&r2=text&tr2=1.468&f=h
        - replace vn_get usage by ihold

fs/xfs/quota/xfs_qm_syscalls.c - 1.18 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/quota/xfs_qm_syscalls.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.17&f=h
        - replace vn_get usage by ihold

fs/xfs/linux-2.6/xfs_vnode.c - 1.128 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.c.diff?r1=text&tr1=1.128&r2=text&tr2=1.127&f=h
        - replace vn_get usage by ihold

fs/xfs/linux-2.6/xfs_vnode.h - 1.105 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.h.diff?r1=text&tr1=1.105&r2=text&tr2=1.104&f=h
        - replace vn_get usage by ihold

fs/xfs/linux-2.4/xfs_vnode.c - 1.129 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.4/xfs_vnode.c.diff?r1=text&tr1=1.129&r2=text&tr2=1.128&f=h
        - replace vn_get usage by ihold

fs/xfs/linux-2.4/xfs_vnode.h - 1.98 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.4/xfs_vnode.h.diff?r1=text&tr1=1.98&r2=text&tr2=1.97&f=h
        - replace vn_get usage by ihold

fs/xfs/linux-2.6/xfs_ksyms.c - 1.21 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_ksyms.c.diff?r1=text&tr1=1.21&r2=text&tr2=1.20&f=h
        - replace vn_get usage by ihold

fs/xfs/linux-2.4/xfs_ksyms.c - 1.18 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.4/xfs_ksyms.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.17&f=h
        - replace vn_get usage by ihold



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 938306 - replace vn_get usage by ihold, Christoph Hellwig <=