xfs
[Top] [All Lists]

PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_remove and xfs_rm

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_remove and xfs_rmdir
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Mon, 21 Apr 2008 18:07:41 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
kill usesless IHOLD calls in xfs_remove and xfs_rmdir

The VFS always has an inode reference when we call these functions.  So
we only need to grab a signle reference to each inode that's joined to
a transaction - all the other bumping and dropping is as useless as the
comments describing the IRIX semantics.


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

Date:  Mon Apr 21 18:07:13 AEST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by:  hch
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:30912a
fs/xfs/xfs_vnodeops.c - 1.757 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=text&tr1=1.757&r2=text&tr2=1.756&f=h
        - kill usesless IHOLD calls in xfs_remove and xfs_rmdir




<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_remove and xfs_rmdir, Lachlan McIlroy <=