From: Brian Foster Date: Thu, 28 May 2015 23:06:30 +0000 (+1000) Subject: xfs: handle sparse inode chunks in icreate log recovery X-Git-Tag: omap-for-v4.3/legacy-v2-signed~97^2~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f43c907ad5afe100772249a79fa8cc9b751b28a;p=pandora-kernel.git xfs: handle sparse inode chunks in icreate log recovery Recovery of icreate transactions assumes hardcoded values for the inode count and chunk length. Sparse inode chunks are allocated in units of m_ialloc_min_blks. Update the icreate validity checks to allow for appropriately sized inode chunks and verify the inode count matches what is expected based on the extent length rather than assuming a hardcoded count. Signed-off-by: Brian Foster Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed