From: Mandy Kirkconnell Date: Fri, 9 Jun 2006 07:13:04 +0000 (+1000) Subject: [XFS] Fix nused counter. It's currently getting set to -1 rather than X-Git-Tag: v2.6.18-rc1~858^2~8^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=477829ef2e9e831c56c98948cfef6dfcec305c3a;p=pandora-kernel.git [XFS] Fix nused counter. It's currently getting set to -1 rather than getting decremented by 1. Since nused never reaches 0, the "if (!free->hdr.nused)" check in xfs_dir2_leafn_remove() fails every time and xfs_dir2_shrink_inode() doesn't get called when it should. This causes extra blocks to be left on an empty directory and the directory in unable to be converted back to inline extent mode. SGI-PV: 951958 SGI-Modid: xfs-linux-melb:xfs-kern:211382a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott --- Reading git-diff-tree failed