]> err.no Git - linux-2.6/commit
[XFS] Move xfs_attr_rolltrans to xfs_trans_roll
authorNiv Sardi <xaiki@sgi.com>
Wed, 13 Aug 2008 06:05:49 +0000 (16:05 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 13 Aug 2008 06:05:49 +0000 (16:05 +1000)
commit322ff6b8cd54feb1c4c0426630f3642ab1dd2176
tree76ea7d8cee4a30eb60cbe4a27a1efccf149bcc91
parenta738159df2b97398f960978272944cbdd8f726ef
[XFS] 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)

SGI-PV: 981498

SGI-Modid: xfs-linux-melb:xfs-kern:31729a

Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_attr.c
fs/xfs/xfs_attr_leaf.c
fs/xfs/xfs_attr_leaf.h
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h