]> Pileus Git - ~andy/linux/commit
xfs: refactor xfs_inode_item_size
authorChristoph Hellwig <hch@infradead.org>
Fri, 13 Dec 2013 00:00:43 +0000 (11:00 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 13 Dec 2013 00:00:43 +0000 (11:00 +1100)
commitce9641d6c981aad0463b2d1455f0b60e5c8671c5
treef5b07df05879ff2612d39a38b858f881d172fa3a
parent7aeb72224120e0c49ba4c93d75f8f0d6a87f6afd
xfs: refactor xfs_inode_item_size

Split out two helpers to size the data and attribute to make the
function more readable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_inode_item.c