]> git.baikalelectronics.ru Git - kernel.git/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)
commit635560af1a31b7de6cdc7253485a453bf6cd0e57
tree76ea7d8cee4a30eb60cbe4a27a1efccf149bcc91
parent4056d75b3c16bd89869659f606227c01f05bee05
[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