xfs
[Top] [All Lists]

TAKE 985583 - move xfs_bmbt_killroot to common code

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 985583 - move xfs_bmbt_killroot to common code
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Wed, 24 Sep 2008 19:11:02 +1000 (EST)
move xfs_bmbt_killroot to common code

xfs_bmbt_killroot is a mostly generic implementation of moving from
a real block based root to an inode based root.  So move it to xfs_btree.c
where it can use all the nice infrastructure there and make it pointer
size agnostic

The new name for it is xfs_btree_kill_iroot, following the old naming
but making it clear we're dealing with the root in inode case here,
and to avoid confusion with xfs_btree_new_root which is used for the
not inode rooted case.  I've also added a comment describing what it does
and why it's named the way it is.


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

Date:  Wed Sep 24 19:10:22 AEST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-btree
Inspected by:  
dgc
billodo
lachlan
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:32203a
fs/xfs/xfs_ialloc_btree.c - 1.103 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_ialloc_btree.c.diff?r1=text&tr1=1.103&r2=text&tr2=1.102&f=h
fs/xfs/xfs_bmap_btree.c - 1.192 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap_btree.c.diff?r1=text&tr1=1.192&r2=text&tr2=1.191&f=h
fs/xfs/xfs_btree.c - 1.138 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.c.diff?r1=text&tr1=1.138&r2=text&tr2=1.137&f=h
fs/xfs/xfs_btree.h - 1.91 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.h.diff?r1=text&tr1=1.91&r2=text&tr2=1.90&f=h
fs/xfs/xfs_alloc_btree.c - 1.107 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_alloc_btree.c.diff?r1=text&tr1=1.107&r2=text&tr2=1.106&f=h
        - move xfs_bmbt_killroot to common code



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 985583 - move xfs_bmbt_killroot to common code, Lachlan McIlroy <=