From: Brian Foster Date: Thu, 28 May 2015 23:05:49 +0000 (+1000) Subject: xfs: pass inode count through ordered icreate log item X-Git-Tag: omap-for-v4.3/legacy-v2-signed~97^2~5^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=463958af5c92d876fd2fe3c756f18bd0ce70b713;p=pandora-kernel.git xfs: pass inode count through ordered icreate log item v5 superblocks use an ordered log item for logging the initialization of inode chunks. The icreate log item is currently hardcoded to an inode count of 64 inodes. The agbno and extent length are used to initialize the inode chunk from log recovery. While an incorrect inode count does not lead to bad inode chunk initialization, we should pass the correct inode count such that log recovery has enough data to perform meaningful validity checks on the chunk. Signed-off-by: Brian Foster Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed