xfs
[Top] [All Lists]

TAKE 988141 - factor xfs_iget_core() into hit and miss cases

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 988141 - factor xfs_iget_core() into hit and miss cases
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Tue, 14 Oct 2008 15:47:41 +1100 (EST)
factor xfs_iget_core() into hit and miss cases

There are really two cases in xfs_iget_core(). The first is the
cache hit case, the second is the miss case. They share very little
code, and hence can easily be factored out into separate functions.
This makes the code much easier to understand and subsequently
modify.

Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>

Date:  Tue Oct 14 15:46:57 EST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-inode
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:32317a
fs/xfs/xfs_iget.c - 1.249 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_iget.c.diff?r1=text&tr1=1.249&r2=text&tr2=1.248&f=h
        - factor xfs_iget_core() into hit and miss cases



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 988141 - factor xfs_iget_core() into hit and miss cases, Lachlan McIlroy <=