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)
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

Simple merge