]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor out attr fork reset handling
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Feb 2009 08:36:00 +0000 (09:36 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Wed, 4 Feb 2009 08:36:00 +0000 (09:36 +0100)
commit49897736ce43f6b81adc7d572fe544d4a8084c5a
tree53679519cd218cae7de7455af92d5005ef28d91a
parentc975ee2c21164467d0e136643b6f8235bcc2eacd
xfs: factor out attr fork reset handling

We currently duplicate code to reset the attribute fork after the last
attribute has been deleted.  Factor this out into a small helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
fs/xfs/xfs_attr_leaf.c