xfs: cleanup struct xfs_dir2_free
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Jul 2011 11:43:48 +0000 (13:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 13 Jul 2011 11:43:48 +0000 (13:43 +0200)
commita00b7745c6e68ee89a123cd81e1dbc52fb55868e
tree9a58811ca53f674ca479ef088d1caa7f572ba43d
parent5792664070c62479b088e4909000582de3686396
xfs: cleanup struct xfs_dir2_free

Change the bests array to be a proper variable sized entry.  This is done
easily as no one relies on the size of the structure.  Also change
XFS_DIR2_MAX_FREE_BESTS to an inline function while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_dir2_format.h
fs/xfs/xfs_dir2_node.c
This page took 0.026579 seconds and 5 git commands to generate.