From: Brian Foster Date: Thu, 28 May 2015 23:20:10 +0000 (+1000) Subject: xfs: filter out sparse regions from individual inode allocation X-Git-Tag: omap-for-v4.3/legacy-v2-signed~97^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26dd5217dee0ecfb95f8015ed8e9deebf8257608;p=pandora-kernel.git xfs: filter out sparse regions from individual inode allocation Inode allocation from an existing record with free inodes traditionally selects the first inode available according to the ir_free mask. With sparse inode chunks, the ir_free mask could refer to an unallocated region. We must mask the unallocated regions out of ir_free before using it to select a free inode in the chunk. Update the xfs_inobt_first_free_inode() helper to find the first free inode available of the allocated regions of the inode chunk. Signed-off-by: Brian Foster Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed