xfs
[Top] [All Lists]

PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_rename

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_rename
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Mon, 21 Apr 2008 15:24:19 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
kill usesless IHOLD calls in xfs_rename

Similar to to the previous patch for remove and rmdir only grab
a reference to inodes when we join them to transaction to balance the
decrement on transaction completion.  Everything else it taken care of
by the VFS.

Note that the old case had leaks of inode count when src == target or
src or target == one of the parent inodes, but these cases are
fortunately already rejected by the VFS.


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

Date:  Mon Apr 21 15:23:49 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:30904a
fs/xfs/xfs_rename.c - 1.84 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_rename.c.diff?r1=text&tr1=1.84&r2=text&tr2=1.83&f=h
        - kill usesless IHOLD calls in xfs_rename




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