[Top] [All Lists]

TAKE 981498 - Move xfs_attr_rolltrans to xfs_trans_roll

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 981498 - Move xfs_attr_rolltrans to xfs_trans_roll
From: xaiki@xxxxxxx (Niv Sardi-Altivanik)
Date: Wed, 23 Jul 2008 17:58:10 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
Move xfs_attr_rolltrans to xfs_trans_roll

Move it from the attr code to the transaction code and make the attr
code call the new function.

We rolltrans is really usefull whenever we want to use rolling
transaction, should be generic, it isn't dependent on any part of the
attr code anyway.

We use this excuse to change all the:
 if ((error = xfs_attr_rolltrans()))

calls into:
 error = xfs_trans_roll();
 if (error)

Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

Date:  Wed Jul 23 17:57:24 AEST 2008
Workarea:  itchy.melbourne.sgi.com:/i386/home/xaiki/Wrk/ptools/xfs-2.6
Inspected by:  hch,xaiki

The following file(s) were checked into:

Modid:  xfs-linux-melb:xfs-kern:31729a
fs/xfs/xfs_attr_leaf.h - 1.49 - changed
fs/xfs/xfs_attr_leaf.c - 1.114 - changed
fs/xfs/xfs_trans.c - 1.186 - changed
fs/xfs/xfs_trans.h - 1.150 - changed
fs/xfs/xfs_attr.c - 1.156 - changed

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 981498 - Move xfs_attr_rolltrans to xfs_trans_roll, Niv Sardi-Altivanik <=