From: Christoph Hellwig Date: Tue, 22 Apr 2014 21:11:51 +0000 (+1000) Subject: xfs: embedd mru_elem into parent structure X-Git-Tag: omap-for-v3.16/fixes-against-rc1~55^2~7^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22328d712dd7fdc984d17da2121be840d1f844cd;p=pandora-kernel.git xfs: embedd mru_elem into parent structure There is no need to do a separate allocation for each mru element, just embedd the structure into the parent one in the user. Besides saving a memory allocation and the infrastructure required for it this also simplifies the API. While we do major surgery on xfs_mru_cache.c also de-typedef it and make struct mru_cache private to the implementation file. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed